sniper Sat Mar 10 19:46:25 2001 EDT
Modified files:
/php4 configure.in
Log:
Check for inet_aton only if libbind is not found (or inet_aton is not in
libbind). Fixes bug: #8814
Index: php4/configure.in
diff -u php4/configure.in:1.220 php4/configure.in:1.221
--- php4/configure.in:1.220 Tue Mar 6 08:51:53 2001
+++ php4/configure.in Sat Mar 10 19:46:24 2001
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.220 2001/03/06 16:51:53 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.221 2001/03/11 03:46:24 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -251,9 +251,9 @@
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]