Browse Source

Check for inet_aton only if libbind is not found (or inet_aton is not in

libbind). Fixes bug: #8814
PHP-4.0.5
foobar 26 years ago
parent
commit
85980139b2
  1. 6
      configure.in

6
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

Loading…
Cancel
Save