diff options
author | Bruno Haible <bruno@clisp.org> | 2021-04-18 13:13:36 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-04-18 13:13:36 +0200 |
commit | 37522c6a20bbcb93773569bfad2de14d3e682ab4 (patch) | |
tree | e3a7be8239b032737ffcf699d3d12f895e54464f /m4/arpa_inet_h.m4 | |
parent | bb634651be35d089fc14f94955e28f74f0c53408 (diff) | |
download | gnulib-37522c6a20bbcb93773569bfad2de14d3e682ab4.tar.gz |
Add comments after 2021-04-11 change.
* m4/*_h.m4: Add comments regarding *_REQUIRE_DEFAULTS and
*_MODULE_INDICATOR macros.
Diffstat (limited to 'm4/arpa_inet_h.m4')
-rw-r--r-- | m4/arpa_inet_h.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/arpa_inet_h.m4 b/m4/arpa_inet_h.m4 index 868ebdfb88..a3ba256246 100644 --- a/m4/arpa_inet_h.m4 +++ b/m4/arpa_inet_h.m4 @@ -1,4 +1,4 @@ -# arpa_inet_h.m4 serial 16 +# arpa_inet_h.m4 serial 17 dnl Copyright (C) 2006, 2008-2021 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -40,6 +40,10 @@ AC_DEFUN_ONCE([gl_ARPA_INET_H], ]], [inet_ntop inet_pton]) ]) +# gl_ARPA_INET_MODULE_INDICATOR([modulename]) +# sets the shell variable that indicates the presence of the given module +# to a C preprocessor expression that will evaluate to 1. +# This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. @@ -47,6 +51,9 @@ AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) +# Initializes the default values for AC_SUBSTed shell variables. +# This macro must not be AC_REQUIREd. It must only be invoked, and only +# outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_ARPA_INET_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_ARPA_INET_H_MODULE_INDICATOR_DEFAULTS], [ |