diff options
Diffstat (limited to 'm4/ldap.m4')
-rw-r--r-- | m4/ldap.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/ldap.m4 b/m4/ldap.m4 index a065e5535..f4462ca0d 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="gpg2keys_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]) |