]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
* aclocal.m4: Fix check for resolv.h; some platforms have
authorTom Yu <tlyu@mit.edu>
Tue, 14 Sep 2004 01:20:39 +0000 (01:20 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 14 Sep 2004 01:20:39 +0000 (01:20 +0000)
prerequisite headers.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16752 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 6a83fd27ffa2d9d1a9983879db76b4a798eb6de7..943f52234506cf026b0985c2db9c20cd2b342661 100644 (file)
@@ -1,3 +1,8 @@
+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
index faad34fa6ea474ddacc2c0aa5602b879f8d9decd..2b76ab260637df7db480e810fcb55caf51baafd4 100644 (file)
@@ -1364,8 +1364,16 @@ AC_DEFUN(AC_LIBRARY_NET, [
        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