aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2013-12-03 18:15:38 +0200
committerSergey Poznyakoff <gray@gnu.org>2013-12-03 18:15:38 +0200
commitba40e4b8d25d69b3f3a87af1ee1274355ae2140b (patch)
tree9b24e820bf642ed5d8ef5e88c3d5711fb315b129 /configure.ac
parent361f1443224123a97af2d09f34fc2b913aee9edc (diff)
downloadeclat-ba40e4b8d25d69b3f3a87af1ee1274355ae2140b.tar.gz
eclat-ba40e4b8d25d69b3f3a87af1ee1274355ae2140b.tar.bz2
Check for liblber, if LDAP support is enabled.
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.