summaryrefslogtreecommitdiff
path: root/ext/ldap
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-10-18 20:58:23 +0000
committerAntony Dovgal <tony2001@php.net>2006-10-18 20:58:23 +0000
commitc79ba676737e82738a5ecc070c3f19d2dfb10a72 (patch)
treeead5518cd42c20ae7656de33a9968c9ceb4a4290 /ext/ldap
parent2193a77eed667b4861c9bee9d9894a7f3812cb2d (diff)
downloadphp-git-c79ba676737e82738a5ecc070c3f19d2dfb10a72.tar.gz
MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP)
Diffstat (limited to 'ext/ldap')
-rw-r--r--ext/ldap/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4
index 401829fcf4..5f710b8233 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