]> Savannah Git Hosting - gnulib.git/commitdiff
stdbool-c99: fix typo
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Dec 2022 18:17:17 +0000 (10:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Dec 2022 18:18:23 +0000 (10:18 -0800)
Reported against Autoconf by Todd C. Miller in:
https://lists.gnu.org/r/autoconf/2022-12/msg00001.html
* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Sync from Autoconf master.

ChangeLog
m4/stdbool.m4

index b4f752c448cc56e0fbf908cdf586d6370c3bf35d..d81bde3f8d3ff301a983bbe8c84ee91b30bf48d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-12-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdbool-c99: fix typo
+       Reported against Autoconf by Todd C. Miller in:
+       https://lists.gnu.org/r/autoconf/2022-12/msg00001.html
+       * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Sync from Autoconf master.
+
 2022-12-26  Bruno Haible  <bruno@clisp.org>
 
        ctime: Mark as deprecated, not obsolete. (Regression 2022-12-21.)
index c67908aa87fd1772bd7a0cdc5eac3daa394893f2..18fe4b874fb79193140839d4038c8088b21e09a6 100644 (file)
@@ -5,7 +5,7 @@ dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-#serial 9
+#serial 10
 
 # Prepare for substituting <stdbool.h> if it is not supported.
 
@@ -57,10 +57,10 @@ AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
                 integer constant expressions, and "bool" should be a valid
                 type name.
 
-                Although C 1999 requires bool, true, and false to be macros,
-                C 2023 and C++ 2011 overrule that, so do not test for that.
-                Although C 1999 requires __bool_true_false_are_defined and
-                _Bool, C 2023 says they are obsolescent, so do not require
+                Although C99 requires bool, true, and false to be macros,
+                C23 and C++11 overrule that, so do not test for that.
+                Although C99 requires __bool_true_false_are_defined and
+                _Bool, C23 says they are obsolescent, so do not require
                 them.  */
 
              #if !true
@@ -108,7 +108,7 @@ AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
 
              /* Refer to every declared value, so they cannot be
                 discarded as unused.  */
-             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
+             return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
                      + !l + !m + !n + !o + !p + !pp + !ps);
            ]])],
         [ac_cv_header_stdbool_h=yes],