+2004-09-15 Tom Yu <tlyu@mit.edu>
+
+ * aclocal.m4 (AC_LIBRARY_NET): Only look for res_search() in
+ libraries, not headers, in case it's present but not prototyped.
+
2004-09-14 Tom Yu <tlyu@mit.edu>
* aclocal.m4 (AC_LIBRARY_NET): Require the BIND_8_COMPAT check
AC_CHECK_LIB(resolv, main)
AC_CHECK_DECL(res_nsearch,
AC_DEFINE(HAVE_RES_NSEARCH,,[Have the RES_NSEARCH function]),
- [AC_CHECK_DECL(res_search,
+ [AC_CHECK_FUNC(res_search,
AC_DEFINE(HAVE_RES_SEARCH,,[Have the res_search function]),
AC_MSG_ERROR(Failed to find resolver search routine),
[#include <sys/types.h>