]> granicus.if.org Git - sudo/commitdiff
add check for ldap_create
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 4 Jan 2008 14:56:10 +0000 (14:56 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 4 Jan 2008 14:56:10 +0000 (14:56 +0000)
config.h.in
configure
configure.in

index dfbc189a47d7c39226b6bc05792c89cf9647eddf..bde5d8dd4b63be56333da017a4488d739d45b47d 100644 (file)
 /* Define to 1 if you use LDAP for sudoers. */
 #undef HAVE_LDAP
 
+/* Define to 1 if you have the `ldap_create' function. */
+#undef HAVE_LDAP_CREATE
+
 /* Define to 1 if you have the `ldap_initialize' function. */
 #undef HAVE_LDAP_INITIALIZE
 
index 7917530aea085926c17d9355ffb73a05b51297d9..52058cea78c4ea7be216d9e41b3d85cd180e15cb 100755 (executable)
--- a/configure
+++ b/configure
@@ -21955,7 +21955,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
 
 
-for ac_func in ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn
+
+for ac_func in ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn ldap_create
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for $ac_func" >&5
index 50ab17b948bf2f5f1aa8b1294967ae667d50d505..4095072334990481cc42d33e0dd36368048737a0 100644 (file)
@@ -2302,7 +2302,7 @@ if test ${with_ldap-'no'} != "no"; then
     AC_MSG_RESULT([yes])
     AC_DEFINE(HAVE_LBER_H)])
 
-    AC_CHECK_FUNCS(ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn)
+    AC_CHECK_FUNCS(ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn ldap_create)
     AC_CHECK_HEADERS([sasl/sasl.h])
 
     AC_CHECK_LIB(gssapi, gss_krb5_ccache_name,