From: Paul Eggert Date: Fri, 23 Sep 2005 05:13:15 +0000 (+0000) Subject: (gl_PREREQ_GETADDRINFO): Check for netinet/in.h. X-Git-Tag: v5.90~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=769a7368674bec50dad2b9ffd8c365d6e9c1535c;p=thirdparty%2Fcoreutils.git (gl_PREREQ_GETADDRINFO): Check for netinet/in.h. --- diff --git a/m4/ChangeLog b/m4/ChangeLog index ba5f69d665..fff18aed01 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2005-09-22 Paul Eggert + + * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h. + 2005-09-21 Paul Eggert * check-decl.m4 (_gl_DECL_HEADERS): Don't bother checking for diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 index 4bc9f67198..ae200f9a0d 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]) ])