summaryrefslogtreecommitdiff
path: root/m4/strings_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/strings_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/strings_h.m4')
-rw-r--r--m4/strings_h.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/strings_h.m4 b/m4/strings_h.m4
index da19d1b876..69de32ac5d 100644
--- a/m4/strings_h.m4
+++ b/m4/strings_h.m4
@@ -1,5 +1,5 @@
# Configure a replacement for <strings.h>.
-# serial 8
+# serial 9
# Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -30,6 +30,10 @@ AC_DEFUN_ONCE([gl_STRINGS_H],
]], [ffs strcasecmp strncasecmp])
])
+# gl_STRINGS_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_STRINGS_MODULE_INDICATOR],
[
dnl Ensure to expand the default settings once only.
@@ -37,6 +41,9 @@ AC_DEFUN([gl_STRINGS_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_STRINGS_H_REQUIRE_DEFAULTS],
[
m4_defun(GL_MODULE_INDICATOR_PREFIX[_STRINGS_H_MODULE_INDICATOR_DEFAULTS], [