summaryrefslogtreecommitdiff
path: root/m4/termios_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/termios_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/termios_h.m4')
-rw-r--r--m4/termios_h.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/termios_h.m4 b/m4/termios_h.m4
index c7d57fc976..861b232d58 100644
--- a/m4/termios_h.m4
+++ b/m4/termios_h.m4
@@ -1,4 +1,4 @@
-# termios_h.m4 serial 6
+# termios_h.m4 serial 7
dnl Copyright (C) 2010-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,
@@ -25,6 +25,10 @@ AC_DEFUN_ONCE([gl_TERMIOS_H],
[tcgetsid])
])
+# gl_TERMIOS_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_TERMIOS_MODULE_INDICATOR],
[
dnl Ensure to expand the default settings once only.
@@ -34,6 +38,9 @@ AC_DEFUN([gl_TERMIOS_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_TERMIOS_H_REQUIRE_DEFAULTS],
[
m4_defun(GL_MODULE_INDICATOR_PREFIX[_TERMIOS_H_MODULE_INDICATOR_DEFAULTS], [