summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-22 15:27:38 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-22 15:27:38 +0000
commitf957f1aeaf08593f1bb6bcb7c1663cc3c44ad21f (patch)
tree17cb8fa6d81d67c89917b776b55eaf5b4d4a94c6
parent690e29a04116e5e524aa73d1402496e6c6ed7141 (diff)
downloadsamba-f957f1aeaf08593f1bb6bcb7c1663cc3c44ad21f.tar.gz
samba-f957f1aeaf08593f1bb6bcb7c1663cc3c44ad21f.tar.bz2
samba-f957f1aeaf08593f1bb6bcb7c1663cc3c44ad21f.zip
Add configure test for previous ldap modifications - we now check if the
ldap_initialze function exists, not just if we are on a particular OpenLDAP. Andrew Bartlett (This used to be commit 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0)
-rw-r--r--source3/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 9d51c16466..72ed483c16 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2291,6 +2291,7 @@ LIBS=""
#include <lber.h>
#include <ldap.h>], [ldap_set_rebind_proc(0, 0, 0);], [pam_ldap_cv_ldap_set_rebind_proc=3], [pam_ldap_cv_ldap_set_rebind_proc=2]) ])
AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
+ AC_CHECK_FUNCS(ldap_initialize)
fi
LDAP_LIBS="$LIBS";