diff options
| author | foobar <sniper@php.net> | 2001-03-11 03:46:24 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2001-03-11 03:46:24 +0000 |
| commit | 85980139b217a1b967812e414041c30817bf07d2 (patch) | |
| tree | 35c29b1193d212e0b4b3bc98499762e1482ce446 | |
| parent | bdcaa8ec44fe6e36ff58e518bee0f741c0f542c9 (diff) | |
| download | php-git-85980139b217a1b967812e414041c30817bf07d2.tar.gz | |
Check for inet_aton only if libbind is not found (or inet_aton is not in
libbind). Fixes bug: #8814
| -rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
