diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-04-22 15:27:38 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-04-22 15:27:38 +0000 |
commit | 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0 (patch) | |
tree | d6f78373ca728790ddeecbc8feb5939927a15998 /source | |
parent | 08c5aaae6a92d6ee14f9bf8e3330191718e84edf (diff) | |
download | samba-8a20162db6a8b3fa7eb0e829663b9b4ced1218c0.tar.gz samba-8a20162db6a8b3fa7eb0e829663b9b4ced1218c0.tar.xz samba-8a20162db6a8b3fa7eb0e829663b9b4ced1218c0.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
Diffstat (limited to 'source')
-rw-r--r-- | source/configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in index 9d51c16466e..72ed483c164 100644 --- a/source/configure.in +++ b/source/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"; |