summaryrefslogtreecommitdiff
path: root/m4/sys_stat_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/sys_stat_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/sys_stat_h.m4')
-rw-r--r--m4/sys_stat_h.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/sys_stat_h.m4 b/m4/sys_stat_h.m4
index 02a621c4c1..ac91d425bb 100644
--- a/m4/sys_stat_h.m4
+++ b/m4/sys_stat_h.m4
@@ -1,4 +1,4 @@
-# sys_stat_h.m4 serial 40 -*- Autoconf -*-
+# sys_stat_h.m4 serial 41 -*- Autoconf -*-
dnl Copyright (C) 2006-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,
@@ -52,6 +52,10 @@ AC_DEFUN_ONCE([gl_SYS_STAT_H],
AC_REQUIRE([AC_C_RESTRICT])
])
+# gl_SYS_STAT_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_SYS_STAT_MODULE_INDICATOR],
[
dnl Ensure to expand the default settings once only.
@@ -61,6 +65,9 @@ AC_DEFUN([gl_SYS_STAT_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_SYS_STAT_H_REQUIRE_DEFAULTS],
[
m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_STAT_H_MODULE_INDICATOR_DEFAULTS], [