From 225b147233ea335927385c2f867218b6abfb3994 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 26 Sep 2001 06:06:21 +0000 Subject: make sure the solaris network libs get added to the LDAP link line before 2001-09-26 Chris Toshok * configure.in: make sure the solaris network libs get added to the LDAP link line before we test for openldap. Thanks to Frank Belew for finding this. svn path=/trunk/; revision=13141 --- configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index f50436c2c1..592f2c3b18 100644 --- a/configure.in +++ b/configure.in @@ -443,6 +443,8 @@ if test "$msg_ldap" = yes; then fi AC_CHECK_LIB(resolv, res_query, LDAP_LIBS="-lresolv") + AC_CHECK_LIB(socket, bind, LDAP_LIBS="$LDAP_LIBS -lsocket") + AC_CHECK_LIB(nsl, gethostbyaddr, LDAP_LIBS="$LDAP_LIBS -lnsl") AC_CHECK_LIB(lber, ber_get_tag, [ if test "$msg_ldap_linktype" = "(static)"; then LDAP_LIBS="$with_openldap/lib/liblber.a $LDAP_LIBS" -- cgit v1.2.3