* modules/stdbool-h-c99: Renamed from modules/stdbool-c99.
* modules/stdbool-h-c99-tests: Renamed from modules/stdbool-c99-tests.
* modules/stdbool-h-c99-c++-tests: Renamed from
modules/stdbool-c99-c++-tests.
* tests/test-stdbool-h-c99.c: Renamed from tests/test-stdbool-c99.c.
* tests/test-stdbool-h-c99-c++.cc: Renamed from
tests/test-stdbool-c99-c++.cc.
* doc/posix-headers/stdbool.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdbool-c99: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module stdbool-c99 to stdbool-h-c99.
+ * modules/stdbool-h-c99: Renamed from modules/stdbool-c99.
+ * modules/stdbool-h-c99-tests: Renamed from modules/stdbool-c99-tests.
+ * modules/stdbool-h-c99-c++-tests: Renamed from
+ modules/stdbool-c99-c++-tests.
+ * tests/test-stdbool-h-c99.c: Renamed from tests/test-stdbool-c99.c.
+ * tests/test-stdbool-h-c99-c++.cc: Renamed from
+ tests/test-stdbool-c99-c++.cc.
+ * doc/posix-headers/stdbool.texi: Update.
+ * modules/stdbool-c99: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module stdarg to stdarg-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdbool.h.html}
-Gnulib module: stdbool-c99
-@mindex stdbool-c99
+Gnulib module: stdbool-h-c99
+@mindex stdbool-h-c99
@mindex stdbool
-The @code{stdbool-c99} module is present only for programs that
+The @code{stdbool-h-c99} module is present only for programs that
formerly used the old @code{stdbool} module for C99 compatibility,
and that for some reason cannot use the current @code{stdbool} module
for C23 compatibility.
Description:
A <stdbool.h> that nearly conforms to C99.
-(Nearly: casts to bool may not work.)
Status:
-obsolete
+deprecated
Notice:
-This module is obsolete. It is present only for programs that
-formerly used the old stdbool module for C99 compatibility,
-and that for some reason cannot use the current stdbool module
-for C23 compatibility.
+This module is deprecated. Use the module 'stdbool-h-c99' instead.
Files:
-lib/stdbool.in.h
-m4/stdbool.m4
Depends-on:
-gen-header
+stdbool-h-c99
configure.ac:
-gl_STDBOOL_H
-gl_CONDITIONAL_HEADER([stdbool.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(STDBOOL_H)
-
-# We need the following in order to create <stdbool.h> when the system
-# doesn't have one that works.
-if GL_GENERATE_STDBOOL_H
-stdbool.h: stdbool.in.h $(top_builddir)/config.status
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
- $(srcdir)/stdbool.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-stdbool.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += stdbool.h stdbool.h-t
Include:
<stdbool.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-stdbool-c99-c++.cc
-tests/test-stdbool-c++.cc
-tests/test-stdbool-c++2.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-stdbool-c99-c++
-check_PROGRAMS += test-stdbool-c99-c++
-test_stdbool_c99_c___SOURCES = test-stdbool-c99-c++.cc test-stdbool-c++2.cc
-endif
+++ /dev/null
-Files:
-tests/test-stdbool-c99.c
-tests/test-stdbool.c
-
-Depends-on:
-stdbool-c99-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-stdbool-c99
-check_PROGRAMS += test-stdbool-c99
--- /dev/null
+Description:
+A <stdbool.h> that nearly conforms to C99.
+(Nearly: casts to bool may not work.)
+
+Status:
+obsolete
+
+Notice:
+This module is obsolete. It is present only for programs that
+formerly used the old stdbool module for C99 compatibility,
+and that for some reason cannot use the current stdbool module
+for C23 compatibility.
+
+Files:
+lib/stdbool.in.h
+m4/stdbool.m4
+
+Depends-on:
+gen-header
+
+configure.ac:
+gl_STDBOOL_H
+gl_CONDITIONAL_HEADER([stdbool.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(STDBOOL_H)
+
+# We need the following in order to create <stdbool.h> when the system
+# doesn't have one that works.
+if GL_GENERATE_STDBOOL_H
+stdbool.h: stdbool.in.h $(top_builddir)/config.status
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
+ $(srcdir)/stdbool.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+stdbool.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += stdbool.h stdbool.h-t
+
+Include:
+<stdbool.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-stdbool-h-c99-c++.cc
+tests/test-stdbool-c++.cc
+tests/test-stdbool-c++2.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdbool-h-c99-c++
+check_PROGRAMS += test-stdbool-h-c99-c++
+test_stdbool_h_c99_c___SOURCES = test-stdbool-h-c99-c++.cc test-stdbool-h-c++2.cc
+endif
--- /dev/null
+Files:
+tests/test-stdbool-h-c99.c
+tests/test-stdbool.c
+
+Depends-on:
+stdbool-h-c99-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-stdbool-h-c99
+check_PROGRAMS += test-stdbool-h-c99