changeset 6339:1e3aad6841a0

* getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for sys/socket.h, netdb.h, sys/types.h; the checks areno longer needed, since the source code now assumes these .h files.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 05 Oct 2005 21:39:09 +0000
parents 0df10a18fd16
children 7ce682b6b199
files m4/ChangeLog m4/getaddrinfo.m4
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
+	sys/socket.h, netdb.h, sys/types.h; the checks areno longer
+	needed, since the source code now assumes these .h files.
+
 2005-10-05  Simon Josefsson  <jas@extundo.com>
 
 	* memxor.m4: New file.
--- a/m4/getaddrinfo.m4
+++ b/m4/getaddrinfo.m4
@@ -1,4 +1,4 @@
-# getaddrinfo.m4 serial 6
+# getaddrinfo.m4 serial 7
 dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -19,7 +19,7 @@
   AC_REQUIRE([gl_SOCKET_FAMILIES])
   AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_GNU_SOURCE])
-  AC_CHECK_HEADERS_ONCE(sys/socket.h netdb.h sys/types.h netinet/in.h)
+  AC_CHECK_HEADERS_ONCE(netinet/in.h)
   AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, gai_strerror],,,[
   /* sys/types.h is not needed according to POSIX, but the
      sys/socket.h in i386-unknown-freebsd4.10 and