about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e48682d5d..abffe2c0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-29  Peter Stephenson  <pws@csr.com>
+
+	* 26898: Ingmar Vanhassel: configure.ac: don't link
+	libbind unless really needed.
+
 2009-04-26  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Paul Ackersviller: 26883: Test/D07multibyte.ztst: naming of
@@ -11629,5 +11634,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4670 $
+* $Revision: 1.4671 $
 *****************************************************
diff --git a/configure.ac b/configure.ac
index 07002d3c6..b238cfa12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -753,7 +753,7 @@ if test x$enable_cap = xyes; then
 fi
 
 AC_CHECK_LIB(socket, socket)
-AC_CHECK_LIB(bind, gethostbyname2)
+AC_SEARCH_LIBS(gethostbyname2, bind)
 
 case $LIBS in
   *-lbind*)