summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rw-r--r--configure.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 0691d12..1f5a3c4 100644
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,5 @@
Changes in quota-tools from 3.17 to 4.00-pre1
+* added liblber to the list of libraries needed for LDAP support (Michael Meskes)
* Rewritten configuration script to create config.h (Jan Kara)
* Use /proc/mounts for mountpoint scanning (Jan Kara)
* Removed use of reserved identifiers (Jan Kara)
diff --git a/configure.in b/configure.in
index 7d1986a..5090623 100644
--- a/configure.in
+++ b/configure.in
@@ -31,7 +31,7 @@ if test "x$enable_ldapmail" != "xno"; then
have_old_ldap="no"
AC_CHECK_LIB(ldap, ldap_initialize, have_new_ldap="yes", AC_CHECK_LIB(ldap, ldap_init, have_old_ldap="yes"))
if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then
- LDAPLIBS="-L/usr/lib -lldap"
+ LDAPLIBS="-L/usr/lib -lldap -llber"
AC_DEFINE([USE_LDAP_MAIL_LOOKUP], 1, [Lookup email address using LDAP])
COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP"
if test "x$have_new_ldap" = "xyes"; then