aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 43daa5a..3c49ad1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,7 @@ AC_ARG_WITH(ldap,
if test $status_ldap != no; then
AC_CHECK_HEADERS(ldap.h)
AC_CHECK_LIB(ldap, ldap_bind,[ldaplib=-lldap],[ldaplib=])
+ AC_CHECK_LIB(lber, ber_set_option,[ldaplib="$ldaplib -llber"])
if test "$ac_cv_header_ldap_h" = yes && test -n "$ldaplib"; then
MAPLIBS="$MAPLIBS $ldaplib"
status_ldap=yes

Return to:

Send suggestions and report system problems to the System administrator.