Mercurial > hg > octave-nkf > gnulib-hg
changeset 10018:8406478f0d13
Ensure the system declares inet_ntop, inet_pton when possible.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 30 Apr 2008 01:27:49 +0200 |
parents | 6e074c9f695a |
children | e435c0a7bace |
files | ChangeLog m4/inet_ntop.m4 m4/inet_pton.m4 modules/inet_ntop modules/inet_pton |
diffstat | 5 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-04-29 Bruno Haible <bruno@clisp.org> + + * m4/inet_ntop.m4 (gl_INET_NTOP): Require gl_USE_SYSTEM_EXTENSIONS. + * m4/inet_pton.m4 (gl_INET_PTON): Likewise. + * modules/inet_ntop (Depends-on): Add extensions. + * modules/inet_pton (Depends-on): Likewise. + Reported by Simon Josefsson. + 2008-04-29 Jim Meyering <meyering@redhat.com> When the is more than one match in a block, match all of them.
--- a/m4/inet_ntop.m4 +++ b/m4/inet_ntop.m4 @@ -6,6 +6,9 @@ AC_DEFUN([gl_INET_NTOP], [ + dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ARPA_INET_H='arpa/inet.h'
--- a/m4/inet_pton.m4 +++ b/m4/inet_pton.m4 @@ -6,6 +6,9 @@ AC_DEFUN([gl_INET_PTON], [ + dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ARPA_INET_H='arpa/inet.h'