Mercurial > hg > octave-kai > gnulib-hg
changeset 7061:5f4be1386417
2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
* inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Fri, 28 Jul 2006 16:31:48 +0000 |
parents | 8d57e101d9f2 |
children | 532bc2e00710 |
files | m4/ChangeLog m4/inet_ntop.m4 m4/inet_pton.m4 |
diffstat | 3 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com> + + * inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too. + 2006-07-28 Bruno Haible <bruno@clisp.org> * mbchar.m4 (gl_MBCHAR): Also test for iswcntrl.
--- a/m4/inet_ntop.m4 +++ b/m4/inet_ntop.m4 @@ -12,7 +12,7 @@ # Prerequisites of lib/inet_ntop.h and lib/inet_ntop.c. AC_DEFUN([gl_PREREQ_INET_NTOP], [ - AC_CHECK_HEADERS_ONCE(arpa/inet.h) + AC_CHECK_HEADERS_ONCE([netinet/in.h arpa/inet.h]) AC_CHECK_DECLS([inet_ntop],,,[#include <arpa/inet.h>]) AC_REQUIRE([gl_SOCKET_FAMILIES]) ])
--- a/m4/inet_pton.m4 +++ b/m4/inet_pton.m4 @@ -12,7 +12,7 @@ # Prerequisites of lib/inet_pton.h and lib/inet_pton.c. AC_DEFUN([gl_PREREQ_INET_PTON], [ - AC_CHECK_HEADERS_ONCE(arpa/inet.h) + AC_CHECK_HEADERS_ONCE([netinet/in.h arpa/inet.h]) AC_CHECK_DECLS([inet_pton],,,[#include <arpa/inet.h>]) AC_REQUIRE([gl_SOCKET_FAMILIES]) ])