From: Wayne Davison Date: Wed, 14 Dec 2005 22:54:54 +0000 (+0000) Subject: Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if X-Git-Tag: v2.6.7pre1~294 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10a1d6b4a0752ade06b9ba95d58ab0dc12e6963e;p=thirdparty%2Frsync.git Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if we need to include libresolv or not. --- 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])