1
AC_DEFUN([AX_CHECK_LTDL],
4
dnl libjpeg check function
8
[LTDL_LIBS="-lltdl" link_ltdl="ltdl"],
12
if test "x$link_ltdl" != "xno"; then
13
AC_CHECK_HEADER(ltdl.h,
14
[LTDL_CFLAGS="" link_ltdl="ltdl"],
19
if test "x$link_ltdl" = "xno"; then
20
AC_MSG_ERROR(Could not link against libltdl !)