blob: 02e27b44d68303fe9439d379e6ad421556534577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- configure.in.orig 2002-11-09 15:10:55.000000000 +0000
+++ configure.in 2002-11-09 15:46:01.000000000 +0000
@@ -104,17 +104,19 @@
elif test -z "$withval" -o "$withval" = 'yes'
then
: Search for LDAP in normal directory path
+ HAVE_LDAP=1
+ LIBLDAP="-lldap -lresolv -llber"
else
: Search for LDAP in specific directory
LDFLAGS="$LDFLAGS -L${withval}/lib"
- LIBLDAP="-L${withval}/lib"
+ LIBLDAP="-L${withval}/lib -lldap -llber -lresolv"
LDAP_FLAGS="-I${withval}/include"
fi
)
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)
fi
AC_SUBST(LDAP_FLAGS)
|