diff options
-rw-r--r-- | m4/ChangeLog | 4 | ||||
-rw-r--r-- | m4/getaddrinfo.m4 | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index ba5f69d66..fff18aed0 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2005-09-22 Paul Eggert <eggert@cs.ucla.edu> + + * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h. + 2005-09-21 Paul Eggert <eggert@cs.ucla.edu> * check-decl.m4 (_gl_DECL_HEADERS): Don't bother checking for diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 index 4bc9f6719..ae200f9a0 100644 --- a/m4/getaddrinfo.m4 +++ b/m4/getaddrinfo.m4 @@ -1,5 +1,5 @@ -# getaddrinfo.m4 serial 3 -dnl Copyright (C) 2004 Free Software Foundation, Inc. +# getaddrinfo.m4 serial 4 +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, dnl with or without modifications, as long as this notice is preserved. @@ -16,4 +16,5 @@ AC_DEFUN([gl_PREREQ_GETADDRINFO], [ AC_REQUIRE([gl_C_RESTRICT]) AC_REQUIRE([gl_SOCKET_FAMILIES]) AC_REQUIRE([AC_C_INLINE]) + AC_CHECK_HEADERS_ONCE([netinet/in.h]) ]) |