diff options
Diffstat (limited to 'ext/ldap/config.w32')
-rw-r--r-- | ext/ldap/config.w32 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/ldap/config.w32 b/ext/ldap/config.w32 index 9102c6c952..11aa5cb452 100644 --- a/ext/ldap/config.w32 +++ b/ext/ldap/config.w32 @@ -6,10 +6,8 @@ ARG_WITH("ldap", "LDAP support", "no"); if (PHP_LDAP != "no") { if (CHECK_HEADER_ADD_INCLUDE("ldap.h", "CFLAGS_LDAP", PHP_PHP_BUILD + "\\include\\openldap;" + PHP_PHP_BUILD + "\\openldap\\include;" + PHP_LDAP) && - CHECK_HEADER_ADD_INCLUDE("lber.h", "CFLAGS_LDAP", PHP_PHP_BUILD + "\\include\\openldap;" + PHP_PHP_BUILD + "\\openldap\\include;" + PHP_LDAP) - && - CHECK_LIB("ssleay32.lib", "ldap", PHP_LDAP) && - CHECK_LIB("libeay32.lib", "ldap", PHP_LDAP) && + CHECK_HEADER_ADD_INCLUDE("lber.h", "CFLAGS_LDAP", PHP_PHP_BUILD + "\\include\\openldap;" + PHP_PHP_BUILD + "\\openldap\\include;" + PHP_LDAP) && + SETUP_OPENSSL("ldap", PHP_LDAP) > 0 && CHECK_LIB("oldap32_a.lib", "ldap", PHP_LDAP) && CHECK_LIB("olber32_a.lib", "ldap", PHP_LDAP)&& CHECK_LIB("libsasl.lib", "ldap", PHP_LDAP)) { |