diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
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 |