summaryrefslogtreecommitdiff
path: root/m4/getaddrinfo.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-23 05:13:15 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-23 05:13:15 +0000
commit769a7368674bec50dad2b9ffd8c365d6e9c1535c (patch)
tree833b7bbd2c92ad12b35077476706bf28206f5360 /m4/getaddrinfo.m4
parent9fd31b8bebc2644e1586c10b74d0db9a10a8a52b (diff)
downloadcoreutils-769a7368674bec50dad2b9ffd8c365d6e9c1535c.tar.xz
(gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
Diffstat (limited to 'm4/getaddrinfo.m4')
-rw-r--r--m4/getaddrinfo.m45
1 files changed, 3 insertions, 2 deletions
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])
])