From e9595e551780abc773d636329ec5ea46d5fc7ebd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 25 Nov 2001 12:26:40 +0000 Subject: check for liblber separately (This used to be commit d7216424d94ee89e1760596c8f87d1883f369771) --- source3/configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 534be53dc9..617453c211 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1642,9 +1642,10 @@ fi ######################################################## # now see if we can find the ldap libs in standard paths if test x$have_ldap != xyes; then -AC_CHECK_LIB(ldap, ldap_open, [LIBS="$LIBS -lldap -llber"; +AC_CHECK_LIB(ldap, ldap_open, [LIBS="$LIBS -lldap"; AC_DEFINE(HAVE_LDAP)]) fi +AC_CHECK_LIB(lber, ber_scanf, [LIBS="$LIBS -llber"]) ################################################# -- cgit