Add configure test for previous ldap modifications - we now check if the
authorAndrew Bartlett <abartlet@samba.org>
Tue, 22 Apr 2003 15:27:38 +0000 (15:27 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 22 Apr 2003 15:27:38 +0000 (15:27 +0000)
ldap_initialze function exists, not just if we are on a particular OpenLDAP.

Andrew Bartlett
(This used to be commit 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0)

source3/configure.in

index 9d51c16466e684032ae663bef6e0961f39fde6c6..72ed483c164ee68d82eec15e7155c9e05e4638d7 100644 (file)
@@ -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";