]> granicus.if.org Git - php/commitdiff
fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP)
authorAntony Dovgal <tony2001@php.net>
Wed, 18 Oct 2006 20:57:06 +0000 (20:57 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Oct 2006 20:57:06 +0000 (20:57 +0000)
ext/ldap/config.m4

index d85d41c79c999c1ee4a54c5ab2a6dddfb4049b9b..3c5b553b397737346db3b0b4ac305c4497437569 100644 (file)
@@ -70,7 +70,7 @@ PHP_ARG_WITH(ldap-sasl,for LDAP Cyrus SASL support,
 
 if test "$PHP_LDAP" != "no"; then
 
-  PHP_NEW_EXTENSION(ldap, ldap.c, $ext_shared)
+  PHP_NEW_EXTENSION(ldap, ldap.c, $ext_shared,,-DLDAP_DEPRECATED=1)
 
   if test "$PHP_LDAP" = "yes"; then
     for i in /usr/local /usr; do