cvs: /php4/ext/ldap config.m4
| From: | Stefan Roehrich | Date: | Sun, 05 Sep 1999 16:28:17 +0000 |
| Subject: | cvs: /php4/ext/ldap config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4126@lists.php.net to get a copy of this message | ||
sr Sun Sep 5 12:28:17 1999 EDT
Modified files:
/php4/ext/ldap config.m4
Log:
Find debian umich-ldap libraries/include files.
Index: php4/ext/ldap/config.m4
diff -u php4/ext/ldap/config.m4:1.3 php4/ext/ldap/config.m4:1.4
--- php4/ext/ldap/config.m4:1.3 Sun Jun 20 14:52:40 1999
+++ php4/ext/ldap/config.m4 Sun Sep 5 12:28:16 1999
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.3 1999/06/20 18:52:40 sas Exp $
+dnl $Id: config.m4,v 1.4 1999/09/05 16:28:16 sr Exp $
AC_MSG_CHECKING(for LDAP support)
AC_ARG_WITH(ldap,
@@ -16,6 +16,9 @@
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 @@
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)