summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-01-15 01:39:22 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2004-01-15 01:39:22 (GMT)
commita69acf82bacf09e2a84ec146491c6dc5c70d5554 (patch)
tree2154d0b18764feb1908525ff7fd75eb591c45484
parentccd482eb67fc3a193f74511e5f56aab5525f7588 (diff)
downloadautofs3-a69acf82bacf09e2a84ec146491c6dc5c70d5554.zip
autofs3-a69acf82bacf09e2a84ec146491c6dc5c70d5554.tar.gz
autofs3-a69acf82bacf09e2a84ec146491c6dc5c70d5554.tar.bz2
autofs3-a69acf82bacf09e2a84ec146491c6dc5c70d5554.tar.xz
Openldap2 compatibility
-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)