From f957f1aeaf08593f1bb6bcb7c1663cc3c44ad21f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 22 Apr 2003 15:27:38 +0000 Subject: 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) --- source3/configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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 #include ], [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"; -- cgit