summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roehrich <sr@php.net>1999-09-05 16:28:16 +0000
committerStefan Roehrich <sr@php.net>1999-09-05 16:28:16 +0000
commit5bcc06768797e658f8eaa07c5f218b754b3630ce (patch)
tree66fa09552ddf3037cd8240597b960de9b2e45103
parentdd509608a1f2cd96ee0e3161f57b34ad268606a0 (diff)
downloadphp-git-5bcc06768797e658f8eaa07c5f218b754b3630ce.tar.gz
Find debian umich-ldap libraries/include files.
-rw-r--r--ext/ldap/config.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4
index 8e87299d8a..a3c1dcef4e 100644
--- a/ext/ldap/config.m4
+++ b/ext/ldap/config.m4
@@ -16,6 +16,9 @@ AC_ARG_WITH(ldap,
elif test -f /usr/local/ldap/include/ldap.h; then
LDAP_INCDIR=/usr/local/ldap/include
LDAP_LIBDIR=/usr/local/ldap/lib
+ elif test -f /usr/include/umich-ldap/ldap.h; then
+ LDAP_INCDIR=/usr/include/umich-ldap
+ LDAP_LIBDIR=/usr/lib
else
AC_MSG_RESULT(no)
AC_MSG_ERROR(Unable to find ldap.h)
@@ -58,6 +61,9 @@ dnl these here if necessary. -RL
elif test -f $LDAP_LIBDIR/libldap30.sl; then
AC_ADD_LIBRARY(ldap30)
AC_DEFINE(HAVE_NSLDAP)
+ elif test -f $LDAP_LIBDIR/libumich_ldap.so; then
+ AC_ADD_LIBRARY(umich_ldap)
+ AC_ADD_LIBRARY(umich_lber)
fi
AC_ADD_INCLUDE($LDAP_INCDIR)