Fixed libcurl to honour the --disable-ldaps configure option

This commit is contained in:
Dan Fandrich
2011-03-07 17:45:33 -08:00
parent 0e74e1d8d8
commit 29f0898525
3 changed files with 9 additions and 6 deletions

View File

@@ -25,8 +25,9 @@
#ifndef CURL_DISABLE_LDAP
extern const struct Curl_handler Curl_handler_ldap;
#if (defined(USE_OPENLDAP) && defined(USE_SSL)) || \
(!defined(USE_OPENLDAP) && defined(HAVE_LDAP_SSL))
#if !defined(CURL_DISABLE_LDAPS) && \
((defined(USE_OPENLDAP) && defined(USE_SSL)) || \
(!defined(USE_OPENLDAP) && defined(HAVE_LDAP_SSL)))
extern const struct Curl_handler Curl_handler_ldaps;
#endif