diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 4 | ||||
-rw-r--r-- | m4/ldap.m4 | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index 95466dc8d..680322064 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2007-12-17 Werner Koch <[email protected]> + + * ldap.m4: Test for ldap_start_tls_sA. + 2007-10-23 gettextize <[email protected]> * gettext.m4: Upgrade to gettext-0.16.1. diff --git a/m4/ldap.m4 b/m4/ldap.m4 index 95249ac3e..053aa51d2 100644 --- a/m4/ldap.m4 +++ b/m4/ldap.m4 @@ -67,7 +67,10 @@ if test x$_ldap_with != xno ; then LDAPLIBS="$LDAP_LDFLAGS $MY_LDAPLIBS" GPGKEYS_LDAP="gpgkeys_ldap$EXEEXT" - AC_CHECK_FUNCS(ldap_get_option ldap_set_option ldap_start_tls_s) + AC_CHECK_FUNCS(ldap_get_option ldap_set_option) + # The extra test for ldap_start_tls_sA is for W32 because + # that is the actual function in the library. + AC_CHECK_FUNCS(ldap_start_tls_s ldap_start_tls_sA) if test "$ac_cv_func_ldap_get_option" != yes ; then AC_MSG_CHECKING([whether LDAP supports ld_errno]) |