aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 3297ffe..4e8cf97 100644
--- a/configure.in
+++ b/configure.in
@@ -113,8 +113,8 @@ AC_ARG_WITH(openldap,
)
if test -z "$HAVE_LDAP"; then
HAVE_LDAP=0
- AC_CHECK_LIB(ldap, ldap_init, HAVE_LDAP=1 LIBLDAP="$LIBLDAP -lldap -llber", ,
- -llber)
+ AC_CHECK_LIB(ldap, ldap_init, HAVE_LDAP=1 LIBLDAP="$LIBLDAP -lldap -llber -lresolv", ,
+ -llber -lresolv $LIBS)
fi
AC_SUBST(LDAP_FLAGS)