From da79138de50a46870a8c56a7aef09bf66591c402 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 29 Apr 2008 13:37:51 +0200 Subject: Enable gnulib's replacement also when inet_ntop or inet_pton need to be declared. --- m4/inet_ntop.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'm4/inet_ntop.m4') 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 ]) -- cgit v1.2.1