From 85980139b217a1b967812e414041c30817bf07d2 Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 11 Mar 2001 03:46:24 +0000 Subject: [PATCH] Check for inet_aton only if libbind is not found (or inet_aton is not in libbind). Fixes bug: #8814 --- configure.in | 6 +++--- 1 file 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 -- 2.40.0