summaryrefslogtreecommitdiff
path: root/ext/ldap/config.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2000-10-15 22:53:43 +0000
committerfoobar <sniper@php.net>2000-10-15 22:53:43 +0000
commitd282abf2dfe8a406971884524887045a95315d23 (patch)
tree61009256f910031848801971cdddaf375694b7db /ext/ldap/config.m4
parent54754242daf2818fa958fe04557507e4fd84bc10 (diff)
downloadphp-git-d282abf2dfe8a406971884524887045a95315d23.tar.gz
Changed to look also for liblber.so (sometimes there are only shared libs)
Fixes bug 6072.
Diffstat (limited to 'ext/ldap/config.m4')
-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 7c128c4918..b14c0ebf35 100644
--- a/ext/ldap/config.m4
+++ b/ext/ldap/config.m4
@@ -40,7 +40,7 @@ if test "$PHP_LDAP" != "no"; then
PHP_SUBST(LDAP_SHARED_LIBADD)
- if test -f $LDAP_LIBDIR/liblber.a; then
+ if test -f $LDAP_LIBDIR/liblber.a -o -f $LDAP_LIBDIR/liblber.so ; then
AC_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
AC_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
elif test -f $LDAP_LIBDIR/libldapssl41.so; then