diff options
author | Bruno Haible <bruno@clisp.org> | 2008-04-29 13:37:51 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-04-29 13:37:51 +0200 |
commit | da79138de50a46870a8c56a7aef09bf66591c402 (patch) | |
tree | a85cc17dbb71ec644712b3bb0c6af83719c156f5 /m4/inet_ntop.m4 | |
parent | 86a346fba0693748170b2b596576c21553d65962 (diff) | |
download | gnulib-da79138de50a46870a8c56a7aef09bf66591c402.tar.gz |
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
Diffstat (limited to 'm4/inet_ntop.m4')
-rw-r--r-- | m4/inet_ntop.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/inet_ntop.m4 b/m4/inet_ntop.m4 index 0848c07759..ee7ba5196c 100644 --- a/m4/inet_ntop.m4 +++ b/m4/inet_ntop.m4 @@ -1,4 +1,4 @@ -# inet_ntop.m4 serial 4 +# inet_ntop.m4 serial 5 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, @@ -6,6 +6,9 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_INET_NTOP], [ + AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) + ARPA_INET_H='arpa/inet.h' + AC_REPLACE_FUNCS(inet_ntop) gl_PREREQ_INET_NTOP ]) |