]> granicus.if.org Git - php/commitdiff
Append liblber to satisfy symbols in libldap
authorSascha Schumann <sas@php.net>
Thu, 30 Dec 1999 14:49:17 +0000 (14:49 +0000)
committerSascha Schumann <sas@php.net>
Thu, 30 Dec 1999 14:49:17 +0000 (14:49 +0000)
ext/ldap/config.m4

index 80ad89a21b01c82cd75e3eca72651a4863f537f1..c86aca2b8a2034ff6be96c44837d3528c02f62e6 100644 (file)
@@ -46,7 +46,7 @@ dnl these here if necessary.   -RL
        if test -f $LDAP_LIBDIR/liblber.a; then
                LDAP_LIBS="-lldap -llber"
         AC_ADD_LIBRARY(ldap)
-        AC_ADD_LIBRARY(lber)
+        AC_ADD_LIBRARY(lber,1)
        elif test -f $LDAP_LIBDIR/libldapssl30.so; then
         AC_ADD_LIBRARY(ldapssl30)
         AC_ADD_LIBRARY($LDAP_PTHREAD)
@@ -63,7 +63,7 @@ dnl these here if necessary.   -RL
                AC_DEFINE(HAVE_NSLDAP,1,[ ])
        elif test -f $LDAP_LIBDIR/libumich_ldap.so; then
         AC_ADD_LIBRARY(umich_ldap)
-        AC_ADD_LIBRARY(umich_lber)
+        AC_ADD_LIBRARY(umich_lber,1)
        fi  
 
     AC_ADD_INCLUDE($LDAP_INCDIR)