Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if

we need to include libresolv or not.
This commit is contained in:
Wayne Davison committed 2005-12-14 22:54:54 +00:00
1 parent 2b7e12924d
commit 10a1d6b4a0
1 file changed
+1 -1
+1 -1
View File
@@ -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])