X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Farpa_inet_h.m4;h=36915d12ea74863ba1ad14e09501417742228df8;hb=e578c035beb87cbb34c3cadfd9e7ee5639bfcfa8;hp=490a005ad96d2fb3a47d89b0e02a21be9b548a8c;hpb=63bc47a1fecb6e16b620d95fc6f5313f317bb550;p=gnulib.git diff --git a/m4/arpa_inet_h.m4 b/m4/arpa_inet_h.m4 index 490a005ad..36915d12e 100644 --- a/m4/arpa_inet_h.m4 +++ b/m4/arpa_inet_h.m4 @@ -1,5 +1,5 @@ -# arpa_inet_h.m4 serial 9 -dnl Copyright (C) 2006, 2008-2010 Free Software Foundation, Inc. +# arpa_inet_h.m4 serial 13 +dnl Copyright (C) 2006, 2008-2012 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. @@ -22,6 +22,8 @@ AC_DEFUN([gl_HEADER_ARPA_INET], dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([arpa/inet.h]) + AC_REQUIRE([gl_FEATURES_H]) + dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ @@ -29,17 +31,13 @@ AC_DEFUN([gl_HEADER_ARPA_INET], #if !(defined __GLIBC__ || defined __UCLIBC__) # include #endif +#ifdef __TANDEM +# include +#endif #include ]], [inet_ntop inet_pton]) ]) -dnl Unconditionally enables the replacement of . -AC_DEFUN([gl_REPLACE_ARPA_INET_H], -[ - dnl This is a no-op, because is always overridden. - : -]) - AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. @@ -54,4 +52,6 @@ AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_INET_NTOP=1; AC_SUBST([HAVE_DECL_INET_NTOP]) HAVE_DECL_INET_PTON=1; AC_SUBST([HAVE_DECL_INET_PTON]) + REPLACE_INET_NTOP=0; AC_SUBST([REPLACE_INET_NTOP]) + REPLACE_INET_PTON=0; AC_SUBST([REPLACE_INET_PTON]) ])