about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-29 12:31:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-29 12:31:29 +0000
commit17369ebe2391f37c6ea86e8d8d504d6794628114 (patch)
treec393ca7648a0033055012c4e0aa95b640cc3807b /configure.ac
parentf91d89ccf858950d7d79d9472d5bdde46ea4f394 (diff)
downloadzsh-17369ebe2391f37c6ea86e8d8d504d6794628114.tar.gz
zsh-17369ebe2391f37c6ea86e8d8d504d6794628114.tar.xz
zsh-17369ebe2391f37c6ea86e8d8d504d6794628114.zip
26898: Ingmar Vanhassel: dont link libbind if not needed
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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*)