From 10a1d6b4a0752ade06b9ba95d58ab0dc12e6963e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 14 Dec 2005 22:54:54 +0000 Subject: [PATCH] Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if we need to include libresolv or not. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d36cc397..93b2643b 100644 --- a/configure.in +++ b/configure.in @@ -377,7 +377,7 @@ if test x"$ac_cv_func_connect" = x"no"; then fi fi -AC_CHECK_LIB(resolv, inet_ntop) +AC_SEARCH_LIBS(inet_ntop, resolv) dnl AC_MSG_NOTICE([Looking in libraries: $LIBS]) -- 2.34.1