aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-09-26 14:06:21 +0800
committerChris Toshok <toshok@src.gnome.org>2001-09-26 14:06:21 +0800
commit225b147233ea335927385c2f867218b6abfb3994 (patch)
tree3b83a2c20a1307d34988dfd4b0f6be254ae17ef8
parent05dd1933794e35ef454e6f29d09f1fdb6a4a913a (diff)
downloadgsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.tar
gsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.tar.gz
gsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.tar.bz2
gsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.tar.lz
gsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.tar.xz
gsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.tar.zst
gsoc2013-evolution-225b147233ea335927385c2f867218b6abfb3994.zip
make sure the solaris network libs get added to the LDAP link line before
2001-09-26 Chris Toshok <toshok@ximian.com> * 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
-rw-r--r--ChangeLog6
-rw-r--r--configure.in2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1203b7fbc6..48d260ab54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-26 Chris Toshok <toshok@ximian.com>
+
+ * 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.
+
2001-09-22 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal to 0.12.99.0.
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"