summaryrefslogtreecommitdiff
path: root/m4/inet_ntop.m4
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-04-28 17:40:25 +0200
committerSimon Josefsson <simon@josefsson.org>2008-04-28 17:40:25 +0200
commit33d11481e0930865b73ae2cf69403fe95223bb9a (patch)
tree3387835e6a602fffc6aab6b3879a8dd856232f68 /m4/inet_ntop.m4
parentc404b31376e0fc0373e063a95195d678f970212e (diff)
downloadgnulib-33d11481e0930865b73ae2cf69403fe95223bb9a.tar.gz
Move inet_ntop and inet_pton declarations to arpa/inet.h.
Diffstat (limited to 'm4/inet_ntop.m4')
-rw-r--r--m4/inet_ntop.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/inet_ntop.m4 b/m4/inet_ntop.m4
index bb02d2298b..0848c07759 100644
--- a/m4/inet_ntop.m4
+++ b/m4/inet_ntop.m4
@@ -1,5 +1,5 @@
-# inet_ntop.m4 serial 3
-dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+# inet_ntop.m4 serial 4
+dnl Copyright (C) 2005, 2006, 2008 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.
@@ -10,9 +10,8 @@ AC_DEFUN([gl_INET_NTOP],
gl_PREREQ_INET_NTOP
])
-# Prerequisites of lib/inet_ntop.h and lib/inet_ntop.c.
+# Prerequisites of lib/inet_ntop.c.
AC_DEFUN([gl_PREREQ_INET_NTOP], [
- AC_CHECK_HEADERS_ONCE([netinet/in.h arpa/inet.h])
AC_CHECK_DECLS([inet_ntop],,,[#include <arpa/inet.h>])
AC_REQUIRE([gl_SOCKET_FAMILIES])
AC_REQUIRE([AC_C_RESTRICT])