diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2013-12-03 18:15:38 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2013-12-03 18:15:38 +0200 |
commit | ba40e4b8d25d69b3f3a87af1ee1274355ae2140b (patch) | |
tree | 9b24e820bf642ed5d8ef5e88c3d5711fb315b129 | |
parent | 361f1443224123a97af2d09f34fc2b913aee9edc (diff) | |
download | eclat-ba40e4b8d25d69b3f3a87af1ee1274355ae2140b.tar.gz eclat-ba40e4b8d25d69b3f3a87af1ee1274355ae2140b.tar.bz2 |
Check for liblber, if LDAP support is enabled.
-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 |