+2004-09-13 Tom Yu <tlyu@mit.edu>
+
+ * aclocal.m4: Fix check for resolv.h; some platforms have
+ prerequisite headers.
+
2004-09-08 Sam Hartman <hartmans@krbdev-linux.mit.edu>
* aclocal.m4 : Remove use of resolv_lib; none of the makefiles
AC_DEFINE(HAVE_RES_NSEARCH,,[Have the RES_NSEARCH function]),
[AC_CHECK_DECL(res_search,
AC_DEFINE(HAVE_RES_SEARCH,,[Have the res_search function]),
- AC_MSG_ERROR(Failed to find resolver search routine), [#include <resolv.h>])],
- [#include <resolv.h>])
+ AC_MSG_ERROR(Failed to find resolver search routine),
+ [#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+])], [#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+])
fi
])
dnl