summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-03-26 21:34:59 +0000
committerfoobar <sniper@php.net>2001-03-26 21:34:59 +0000
commitbadb701caf83a9b4018d01ee2bcdcb9cd5646a48 (patch)
tree38e9524ec3a125c44a8f6523e60bf3cfc186a5ab
parent3e2ff3409ad33d54a16fa4cdb7d870124fe7a658 (diff)
downloadphp-git-badb701caf83a9b4018d01ee2bcdcb9cd5646a48.tar.gz
Fixed the problem with libbind (again).
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f0961656f8..54d516d149 100644
--- a/configure.in
+++ b/configure.in
@@ -253,9 +253,10 @@ AC_CHECK_LIB(m, sin)
AC_CHECK_LIB(bind, inet_aton, [
AC_ADD_LIBRARY(bind)
AC_DEFINE(HAVE_LIBBIND,1,[Whether you have bind]) ], [
- AC_CHECK_LIB(resolv, inet_aton)
+ AC_CHECK_LIB(bind, __inet_aton, [], [
+ AC_CHECK_LIB(resolv, inet_aton)
+ ])
])
-AC_CHECK_LIB(bind, __inet_aton)
dnl The res_search may be in libsocket as well, and if it is