diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | build/apu-conf.m4 | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,7 @@ Changes with APR-util 2.0.0 *) LDAP detection improvements: --with-ldap now supports library names containing non-alphanumeric characters, such as libldap-2.4.so. New option --with-lber can be used to override the default liblber name. + Fix a problem reporting the lber library from apu-N-config. [Jeff Trawick] Changes with APR-util 1.4.0 diff --git a/build/apu-conf.m4 b/build/apu-conf.m4 index cc0cf008..9eb9b606 100644 --- a/build/apu-conf.m4 +++ b/build/apu-conf.m4 @@ -285,7 +285,8 @@ dnl The iPlanet C SDK 5.0 is as yet untested... fi test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library) - AC_CHECK_LIB($apu_liblber_name, ber_init) + AC_CHECK_LIB($apu_liblber_name, ber_init, + [LDADD_ldap="${LDADD_ldap} -l${apu_liblber_name}"]) AC_CHECK_HEADERS(lber.h, lber_h=["#include <lber.h>"]) |