summaryrefslogtreecommitdiff
path: root/m4/wchar_h.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-04-18 13:13:36 +0200
committerBruno Haible <bruno@clisp.org>2021-04-18 13:13:36 +0200
commit37522c6a20bbcb93773569bfad2de14d3e682ab4 (patch)
treee3a7be8239b032737ffcf699d3d12f895e54464f /m4/wchar_h.m4
parentbb634651be35d089fc14f94955e28f74f0c53408 (diff)
downloadgnulib-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/wchar_h.m4')
-rw-r--r--m4/wchar_h.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/wchar_h.m4 b/m4/wchar_h.m4
index 9b3e2b0cbc..818b3192e0 100644
--- a/m4/wchar_h.m4
+++ b/m4/wchar_h.m4
@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
dnl Written by Eric Blake.
-# wchar_h.m4 serial 52
+# wchar_h.m4 serial 53
AC_DEFUN_ONCE([gl_WCHAR_H],
[
@@ -125,6 +125,10 @@ Configuration aborted.])
fi
])
+# gl_WCHAR_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_WCHAR_MODULE_INDICATOR],
[
dnl Ensure to expand the default settings once only.
@@ -134,6 +138,9 @@ AC_DEFUN([gl_WCHAR_MODULE_INDICATOR],
gl_MODULE_INDICATOR_FOR_TESTS([$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_WCHAR_H_REQUIRE_DEFAULTS],
[
m4_defun(GL_MODULE_INDICATOR_PREFIX[_WCHAR_H_MODULE_INDICATOR_DEFAULTS], [