X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configure.in;h=d338aa6ebf8a0f7dd93e502ae8fe4e7c64b92a70;hb=3fe7a409cbbc70bf0bee41c46a38d6fdfa77c697;hp=84b66f3e571a2e502fd6c685b3bd4b8a31c73447;hpb=f8a3544595f94807085e5d022bc65516785b3afb;p=freeradius.git diff --git a/configure.in b/configure.in index 84b66f3..d338aa6 100644 --- a/configure.in +++ b/configure.in @@ -78,6 +78,7 @@ AC_ARG_WITH(system-libtldl, LIBLTDL="-lltdl" INCLTDL= LTDL_SUBDIRS= +enable_ltdl_install=no ], [ AC_LIBLTDL_INSTALLABLE @@ -932,6 +933,11 @@ dnl # 7. Checks for library functions dnl # dnl ############################################################# +old_LIBS="$LIBS" +LIBS="$LIBS $LIBLTDL" +AC_CHECK_FUNC(lt_dladvise_init, AC_DEFINE(HAVE_HAVE_LT_DLADVISE_INIT, [], [Do we have the lt_dladvise_init function])) +LIBS="$old_LIBS" + dnl Check for libcrypt dnl We use crypt(3) which may be in libc, or in libcrypt (eg FreeBSD) AC_CHECK_LIB(crypt, crypt,