about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
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*)