summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-21 11:20:59 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-21 11:20:59 +0000
commit65ad38f6f7b91b326276d305463e48af861c5cb2 (patch)
treebc70316a359df664f6c06053ad559cffdc1a1bf6 /source3/configure.in
parenta237a8a2964d478ad43393dffe98899d80bb8546 (diff)
downloadsamba-65ad38f6f7b91b326276d305463e48af861c5cb2.tar.gz
samba-65ad38f6f7b91b326276d305463e48af861c5cb2.tar.bz2
samba-65ad38f6f7b91b326276d305463e48af861c5cb2.zip
updated ldap test to test for less common function
(This used to be commit 831f25a9a7ef3f5481c531b3a5ff514fa8b6d81e)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 48057c15a5..cb08824a5a 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1687,11 +1687,10 @@ 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_open, [LIBS="$LIBS -lldap";
+AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LIBS="$LIBS -lldap";
AC_DEFINE(HAVE_LDAP)])
fi
-
#################################################
# check for automount support
AC_MSG_CHECKING(whether to use AUTOMOUNT)