From: Antony Dovgal Date: Wed, 18 Oct 2006 20:57:06 +0000 (+0000) Subject: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) X-Git-Tag: RELEASE_1_0_0RC1~1254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7afbb7c3e254ad735a9a98f3aa8719dfb8cf3b10;p=php fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) --- diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4 index d85d41c79c..3c5b553b39 100644 --- a/ext/ldap/config.m4 +++ b/ext/ldap/config.m4 @@ -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