From: foobar Date: Sun, 11 Mar 2001 03:46:24 +0000 (+0000) Subject: Check for inet_aton only if libbind is not found (or inet_aton is not in X-Git-Tag: php-4.0.5RC1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85980139b217a1b967812e414041c30817bf07d2;p=php Check for inet_aton only if libbind is not found (or inet_aton is not in libbind). Fixes bug: #8814 --- diff --git a/configure.in b/configure.in index 9e150efcd4..c1a96f8c69 100644 --- a/configure.in +++ b/configure.in @@ -251,9 +251,9 @@ 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_DEFINE(HAVE_LIBBIND,1,[Whether you have bind]) ], [ + AC_CHECK_LIB(resolv, inet_aton) + ]) dnl The res_search may be in libsocket as well, and if it is dnl make sure to check for dn_skipname in libresolv, or if res_search