summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 999bd3c5f5..82e4b9a50d 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2247,12 +2247,12 @@ if test x"$with_ldap_support" = x"yes"; then
##################################################################
# we might need the lber lib on some systems. To avoid link errors
# this test must be before the libldap test
- AC_CHECK_LIB(lber, ber_scanf, [LDAP_LIBS="$LDAP_LIBS -llber"])
+ AC_CHECK_LIB(lber, ber_scanf, [LIBS="$LIBS -llber"])
########################################################
# now see if we can find the ldap libs in standard paths
if test x$have_ldap != xyes; then
- AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LDAP_LIBS="$LDAP_LIBS -lldap";
+ AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LIBS="$LIBS -lldap";
AC_DEFINE(HAVE_LDAP,1,[Whether ldap is available])])
AC_CHECK_HEADERS([ldap.h lber.h], [default_modules="$default_modules pdb_ldap"])
@@ -2267,13 +2267,8 @@ if test x"$with_ldap_support" = x"yes"; then
AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
fi
- if test x"$with_ads_support" = x"yes"; then
- LIBS="$LIBS $LDAP_LIBS"
- fi
fi
-AC_SUBST(LDAP_LIBS)
-
########################################################
# Compile with MySQL support?
AM_PATH_MYSQL([0.11.0],[default_modules="$default_modules pdb_mysql"],[])