summaryrefslogtreecommitdiff
path: root/ext/ldap
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-30 04:52:19 +0000
committerSascha Schumann <sas@php.net>1999-12-30 04:52:19 +0000
commitcf5a5fb1dd3800b9c7f69bb23326277eab3a4c72 (patch)
tree797b72cf3dd3b02052002d0398a3a79e9c768dfa /ext/ldap
parent2c99bef442d71a455628628e932daf26aaec8a46 (diff)
downloadphp-git-cf5a5fb1dd3800b9c7f69bb23326277eab3a4c72.tar.gz
Whoops, defining them to empty values generates many parse errors.
Defaulting to 1.
Diffstat (limited to 'ext/ldap')
-rw-r--r--ext/ldap/config.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4
index 9380eeb639..80ad89a21b 100644
--- a/ext/ldap/config.m4
+++ b/ext/ldap/config.m4
@@ -50,17 +50,17 @@ dnl these here if necessary. -RL
elif test -f $LDAP_LIBDIR/libldapssl30.so; then
AC_ADD_LIBRARY(ldapssl30)
AC_ADD_LIBRARY($LDAP_PTHREAD)
- AC_DEFINE(HAVE_NSLDAP,,[ ])
+ AC_DEFINE(HAVE_NSLDAP,1,[ ])
elif test -f $LDAP_LIBDIR/libldapssl30.sl; then
AC_ADD_LIBRARY(ldapssl30)
- AC_DEFINE(HAVE_NSLDAP,,[ ])
+ AC_DEFINE(HAVE_NSLDAP,1,[ ])
elif test -f $LDAP_LIBDIR/libldap30.so; then
AC_ADD_LIBRARY(ldap30)
AC_ADD_LIBRARY($LDAP_PTHREAD)
- AC_DEFINE(HAVE_NSLDAP,,[ ])
+ AC_DEFINE(HAVE_NSLDAP,1,[ ])
elif test -f $LDAP_LIBDIR/libldap30.sl; then
AC_ADD_LIBRARY(ldap30)
- AC_DEFINE(HAVE_NSLDAP,,[ ])
+ AC_DEFINE(HAVE_NSLDAP,1,[ ])
elif test -f $LDAP_LIBDIR/libumich_ldap.so; then
AC_ADD_LIBRARY(umich_ldap)
AC_ADD_LIBRARY(umich_lber)
@@ -69,7 +69,7 @@ dnl these here if necessary. -RL
AC_ADD_INCLUDE($LDAP_INCDIR)
AC_ADD_LIBPATH($LDAP_LIBDIR)
- AC_DEFINE(HAVE_LDAP,,[ ])
+ AC_DEFINE(HAVE_LDAP,1,[ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(ldap)