From 7afbb7c3e254ad735a9a98f3aa8719dfb8cf3b10 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 18 Oct 2006 20:57:06 +0000 Subject: [PATCH] fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) --- ext/ldap/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1