Add configure test for previous ldap modifications - we now check if the
[ira/wip.git] / 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";