From: Bruno Haible Date: Fri, 27 Dec 2024 22:18:14 +0000 (+0100) Subject: Rename module stdbool to stdbool-h. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=3c501171cfd447b5024a4673236ef86f487eaa28;p=gnulib.git Rename module stdbool to stdbool-h. * modules/stdbool-h: Renamed from modules/stdbool. * modules/stdbool-h-tests: Renamed from modules/stdbool-tests. * modules/stdbool-h-c++-tests: Renamed from modules/stdbool-c++-tests. * tests/test-stdbool-h.c: Renamed from tests/test-stdbool.c. * tests/test-stdbool-h-c++.cc: Renamed from tests/test-stdbool-c++.cc. * tests/test-stdbool-h-c++2.cc: Renamed from tests/test-stdbool-c++2.cc. * tests/test-stdbool-h-c99.c: Update. * tests/test-stdbool-h-c99-c++.cc: Update. * doc/posix-headers/stdbool.texi: Update. * doc/gnulib-readme.texi: Update. * doc/gnulib.texi: Update. * modules/* (Depends-on): Update. * modules/stdbool: New file. --- diff --git a/ChangeLog b/ChangeLog index 43138b765b..ad9d1c25a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2024-12-27 Bruno Haible + + Rename module stdbool to stdbool-h. + * modules/stdbool-h: Renamed from modules/stdbool. + * modules/stdbool-h-tests: Renamed from modules/stdbool-tests. + * modules/stdbool-h-c++-tests: Renamed from modules/stdbool-c++-tests. + * tests/test-stdbool-h.c: Renamed from tests/test-stdbool.c. + * tests/test-stdbool-h-c++.cc: Renamed from tests/test-stdbool-c++.cc. + * tests/test-stdbool-h-c++2.cc: Renamed from tests/test-stdbool-c++2.cc. + * tests/test-stdbool-h-c99.c: Update. + * tests/test-stdbool-h-c99-c++.cc: Update. + * doc/posix-headers/stdbool.texi: Update. + * doc/gnulib-readme.texi: Update. + * doc/gnulib.texi: Update. + * modules/* (Depends-on): Update. + * modules/stdbool: New file. + 2024-12-27 Bruno Haible Rename module stdbool-c99 to stdbool-h-c99. diff --git a/doc/gnulib-readme.texi b/doc/gnulib-readme.texi index 0ac55bb2bc..70dbb3d7d5 100644 --- a/doc/gnulib-readme.texi +++ b/doc/gnulib-readme.texi @@ -366,10 +366,10 @@ A declaration after a statement, or as the first clause in a @item @code{}, -@mindex stdbool +@mindex stdbool-h although Gnulib code no longer uses it directly, preferring plain @code{bool} via the -@code{stdbool} module instead. +@code{stdbool-h} module instead. @xref{stdbool.h}. @item diff --git a/doc/gnulib.texi b/doc/gnulib.texi index e995268dc9..822cf1dfb2 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -988,8 +988,8 @@ On pre-C23 platforms, @code{alignas} and @code{alignof} are macros. @node bool @section @code{bool} -Gnulib module: stdbool -@mindex stdbool +Gnulib module: stdbool-h +@mindex stdbool-h Portability problems fixed by Gnulib: @itemize diff --git a/doc/posix-headers/stdbool.texi b/doc/posix-headers/stdbool.texi index d3a9e20985..76b33307d3 100644 --- a/doc/posix-headers/stdbool.texi +++ b/doc/posix-headers/stdbool.texi @@ -5,11 +5,11 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/bas Gnulib module: stdbool-h-c99 @mindex stdbool-h-c99 -@mindex stdbool +@mindex stdbool-h 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 +and that for some reason cannot use the current @code{stdbool-h} module for C23 compatibility. Portability problems fixed by Gnulib: diff --git a/modules/acl-permissions b/modules/acl-permissions index 9738016bfe..08dcea466d 100644 --- a/modules/acl-permissions +++ b/modules/acl-permissions @@ -16,7 +16,7 @@ extern-inline fstat minmax stat -stdbool +stdbool-h sys_stat configure.ac: diff --git a/modules/areadlink-tests b/modules/areadlink-tests index 869be2c34b..5db5b8a89e 100644 --- a/modules/areadlink-tests +++ b/modules/areadlink-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/areadlink-with-size-tests b/modules/areadlink-with-size-tests index b9b3ded0a3..31f2cc7be6 100644 --- a/modules/areadlink-with-size-tests +++ b/modules/areadlink-with-size-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/areadlinkat-tests b/modules/areadlinkat-tests index 422ac61412..f70f0c1360 100644 --- a/modules/areadlinkat-tests +++ b/modules/areadlinkat-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/areadlinkat-with-size-tests b/modules/areadlinkat-with-size-tests index b86d6e70a9..53d783096f 100644 --- a/modules/areadlinkat-with-size-tests +++ b/modules/areadlinkat-with-size-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h configure.ac: diff --git a/modules/argmatch b/modules/argmatch index 4f4d039b90..a85ce34e52 100644 --- a/modules/argmatch +++ b/modules/argmatch @@ -16,7 +16,7 @@ gnulib-i18n memcmp quote quotearg -stdbool +stdbool-h stdlib configure.ac: diff --git a/modules/argp b/modules/argp index 88cc78c3cb..9259934283 100644 --- a/modules/argp +++ b/modules/argp @@ -32,7 +32,7 @@ strcase extensions vsnprintf sleep -stdbool +stdbool-h stdio strerror memchr diff --git a/modules/argv-iter b/modules/argv-iter index f7ecaa31b9..6fedca5322 100644 --- a/modules/argv-iter +++ b/modules/argv-iter @@ -8,7 +8,7 @@ lib/argv-iter.h Depends-on: getdelim snippet/arg-nonnull -stdbool +stdbool-h configure.ac: diff --git a/modules/asyncsafe-spin b/modules/asyncsafe-spin index ffb2429e65..93addcd927 100644 --- a/modules/asyncsafe-spin +++ b/modules/asyncsafe-spin @@ -8,7 +8,7 @@ m4/atomic-cas.m4 Depends-on: signal-h -stdbool +stdbool-h sigprocmask windows-spin sparcv8+ diff --git a/modules/backup-rename b/modules/backup-rename index b352d9aea7..0e2ddfb27c 100644 --- a/modules/backup-rename +++ b/modules/backup-rename @@ -21,7 +21,7 @@ memcmp opendirat readdir renameatu -stdbool +stdbool-h stdckdint stdint xalloc-oversized diff --git a/modules/backupfile b/modules/backupfile index 4d7aceae3d..7731b8dd65 100644 --- a/modules/backupfile +++ b/modules/backupfile @@ -21,7 +21,7 @@ memcmp opendirat readdir renameatu -stdbool +stdbool-h stdckdint stdint xalloc-die diff --git a/modules/base32 b/modules/base32 index 534e2ac5ef..9b594363ba 100644 --- a/modules/base32 +++ b/modules/base32 @@ -9,7 +9,7 @@ m4/base32.m4 Depends-on: extern-inline ialloc -stdbool +stdbool-h memchr stdckdint diff --git a/modules/base64 b/modules/base64 index 99f3eb8700..2671efeb5c 100644 --- a/modules/base64 +++ b/modules/base64 @@ -9,7 +9,7 @@ m4/base64.m4 Depends-on: extern-inline ialloc -stdbool +stdbool-h memchr stdckdint diff --git a/modules/basename-lgpl b/modules/basename-lgpl index f81898da85..790cd1315f 100644 --- a/modules/basename-lgpl +++ b/modules/basename-lgpl @@ -8,7 +8,7 @@ lib/basename-lgpl.c Depends-on: double-slash-root filename -stdbool +stdbool-h configure.ac: diff --git a/modules/bcp47 b/modules/bcp47 index ca0ac88287..34604ee9a4 100644 --- a/modules/bcp47 +++ b/modules/bcp47 @@ -6,7 +6,7 @@ lib/bcp47.h lib/bcp47.c Depends-on: -stdbool +stdbool-h c-ctype configure.ac: diff --git a/modules/bitset b/modules/bitset index c264fb684b..a38fef6e09 100644 --- a/modules/bitset +++ b/modules/bitset @@ -25,7 +25,7 @@ gettext-h gnulib-i18n integer_length_l obstack -stdbool +stdbool-h xalloc configure.ac: diff --git a/modules/boot-time b/modules/boot-time index 07e5e43bc6..d14e1bc6e9 100644 --- a/modules/boot-time +++ b/modules/boot-time @@ -13,7 +13,7 @@ extensions idx stat-time gettimeofday -stdbool +stdbool-h time-h unlocked-io-internal diff --git a/modules/byteswap b/modules/byteswap index 6e777a699b..1c1a40a375 100644 --- a/modules/byteswap +++ b/modules/byteswap @@ -9,7 +9,7 @@ m4/byteswap.m4 Depends-on: gen-header extern-inline [$GL_GENERATE_BYTESWAP_H] -stdbool [$GL_GENERATE_BYTESWAP_H] +stdbool-h [$GL_GENERATE_BYTESWAP_H] stdint [$GL_GENERATE_BYTESWAP_H] configure.ac: diff --git a/modules/c-ctype b/modules/c-ctype index 106050e3b9..996bd4f63e 100644 --- a/modules/c-ctype +++ b/modules/c-ctype @@ -7,7 +7,7 @@ lib/c-ctype.c Depends-on: extern-inline -stdbool +stdbool-h configure.ac: diff --git a/modules/c-nstrftime b/modules/c-nstrftime index 86a9d89f0a..337f8396fc 100644 --- a/modules/c-nstrftime +++ b/modules/c-nstrftime @@ -17,7 +17,7 @@ extensions intprops libc-config locale-h -stdbool +stdbool-h stdckdint time_rz diff --git a/modules/c-strcasestr b/modules/c-strcasestr index f2ed9eccb6..69f3ea7321 100644 --- a/modules/c-strcasestr +++ b/modules/c-strcasestr @@ -9,7 +9,7 @@ lib/str-two-way.h Depends-on: c-ctype c-strcase -stdbool +stdbool-h memchr memcmp diff --git a/modules/canonicalize b/modules/canonicalize index fe44d75050..39dcf64f69 100644 --- a/modules/canonicalize +++ b/modules/canonicalize @@ -26,7 +26,7 @@ rawmemchr readlink glibc-internal/scratch_buffer stat -stdbool +stdbool-h sys_stat unistd xalloc-die diff --git a/modules/canonicalize-lgpl b/modules/canonicalize-lgpl index d334356ec1..d686470ebd 100644 --- a/modules/canonicalize-lgpl +++ b/modules/canonicalize-lgpl @@ -26,7 +26,7 @@ rawmemchr [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $RE readlink [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] glibc-internal/scratch_buffer [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] stat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] -stdbool [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +stdbool-h [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] sys_stat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] unistd [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] diff --git a/modules/ceil-tests b/modules/ceil-tests index fcb960985c..ef0458d2ad 100644 --- a/modules/ceil-tests +++ b/modules/ceil-tests @@ -10,7 +10,7 @@ Depends-on: float-h isnand-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/ceilf-tests b/modules/ceilf-tests index 17903f3a93..7aa3fc3e0f 100644 --- a/modules/ceilf-tests +++ b/modules/ceilf-tests @@ -10,7 +10,7 @@ Depends-on: float-h isnanf-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/chdir-long b/modules/chdir-long index c08ff622b4..4acf932b4b 100644 --- a/modules/chdir-long +++ b/modules/chdir-long @@ -19,7 +19,7 @@ openat [test $gl_cv_have_unlimited_file_name_length = no] memchr [test $gl_cv_have_unlimited_file_name_length = no] mempcpy [test $gl_cv_have_unlimited_file_name_length = no] memrchr [test $gl_cv_have_unlimited_file_name_length = no] -stdbool [test $gl_cv_have_unlimited_file_name_length = no] +stdbool-h [test $gl_cv_have_unlimited_file_name_length = no] stdlib [test $gl_cv_have_unlimited_file_name_length = no] configure.ac: diff --git a/modules/chown b/modules/chown index d3f2d1e10e..348ae35a0e 100644 --- a/modules/chown +++ b/modules/chown @@ -11,7 +11,7 @@ unistd fstat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] open [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] -stdbool [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +stdbool-h [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] sys_stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] configure.ac: diff --git a/modules/chown-tests b/modules/chown-tests index 2c3d9686dc..cf47340a0d 100644 --- a/modules/chown-tests +++ b/modules/chown-tests @@ -11,7 +11,7 @@ lstat mgetgroups nanosleep stat-time -stdbool +stdbool-h stdckdint symlink xconcat-filename diff --git a/modules/classpath b/modules/classpath index d840e080f0..52236f8a28 100644 --- a/modules/classpath +++ b/modules/classpath @@ -6,7 +6,7 @@ lib/classpath.h lib/classpath.c Depends-on: -stdbool +stdbool-h xsetenv xalloc diff --git a/modules/clean-temp b/modules/clean-temp index 81b2dcff71..6bb95be065 100644 --- a/modules/clean-temp +++ b/modules/clean-temp @@ -7,7 +7,7 @@ lib/clean-temp.c Depends-on: c99 -stdbool +stdbool-h clean-temp-simple list asyncsafe-spin diff --git a/modules/clean-temp-simple b/modules/clean-temp-simple index f7885a7786..b7feaee809 100644 --- a/modules/clean-temp-simple +++ b/modules/clean-temp-simple @@ -8,7 +8,7 @@ lib/clean-temp-simple.c Depends-on: c99 -stdbool +stdbool-h list asyncsafe-spin unistd diff --git a/modules/cloexec b/modules/cloexec index 8e458bb16e..fd6512241c 100644 --- a/modules/cloexec +++ b/modules/cloexec @@ -8,7 +8,7 @@ lib/cloexec.h Depends-on: dup2 fcntl -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) diff --git a/modules/close-stream b/modules/close-stream index 78ed207992..6c5c0e70fd 100644 --- a/modules/close-stream +++ b/modules/close-stream @@ -7,7 +7,7 @@ lib/close-stream.c Depends-on: fpending -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([close-stream]) diff --git a/modules/closein b/modules/closein index 06a4467047..1c135ba9c2 100644 --- a/modules/closein +++ b/modules/closein @@ -11,7 +11,7 @@ freadahead fflush gettext-h gnulib-i18n -stdbool +stdbool-h unistd configure.ac: diff --git a/modules/closeout b/modules/closeout index 0e9216920e..3a5596b5fc 100644 --- a/modules/closeout +++ b/modules/closeout @@ -12,7 +12,7 @@ gnulib-i18n error quotearg exitfail -stdbool +stdbool-h unistd configure.ac: diff --git a/modules/cond b/modules/cond index 3d8e31aaf0..2c035e9a37 100644 --- a/modules/cond +++ b/modules/cond @@ -11,7 +11,7 @@ threadlib lock errno-h extern-inline -stdbool +stdbool-h time-h windows-cond [test $gl_threads_api = windows] diff --git a/modules/crypto/des b/modules/crypto/des index 4147cbddc7..e82949e00d 100644 --- a/modules/crypto/des +++ b/modules/crypto/des @@ -7,7 +7,7 @@ lib/des.h Depends-on: stdint -stdbool +stdbool-h memcmp configure.ac: diff --git a/modules/csharpcomp b/modules/csharpcomp index 43df979dd2..0e2d4e906b 100644 --- a/modules/csharpcomp +++ b/modules/csharpcomp @@ -6,7 +6,7 @@ lib/csharpcomp.h lib/csharpcomp.c Depends-on: -stdbool +stdbool-h error xconcat-filename cygpath diff --git a/modules/csharpexec b/modules/csharpexec index fdfa96d89b..482a4f15dd 100644 --- a/modules/csharpexec +++ b/modules/csharpexec @@ -8,7 +8,7 @@ lib/classpath.h lib/classpath.c Depends-on: -stdbool +stdbool-h stat error dirname diff --git a/modules/cycle-check b/modules/cycle-check index e8ef2caf7e..ae97f87b14 100644 --- a/modules/cycle-check +++ b/modules/cycle-check @@ -10,7 +10,7 @@ Depends-on: assure dev-ino same-inode -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/dfa b/modules/dfa index 569de68f77..3fd3a10eb5 100644 --- a/modules/dfa +++ b/modules/dfa @@ -25,7 +25,7 @@ locale-h mbrtoc32-regular mbszero regex -stdbool +stdbool-h stddef stdint stdio diff --git a/modules/diffseq b/modules/diffseq index d77778ba15..f49f195f5c 100644 --- a/modules/diffseq +++ b/modules/diffseq @@ -6,7 +6,7 @@ lib/diffseq.h Depends-on: c99 -stdbool +stdbool-h configure.ac: diff --git a/modules/dirname-lgpl b/modules/dirname-lgpl index 8eb1dd7ad7..5fd25a91c3 100644 --- a/modules/dirname-lgpl +++ b/modules/dirname-lgpl @@ -11,7 +11,7 @@ basename-lgpl double-slash-root filename malloc-posix -stdbool +stdbool-h configure.ac: diff --git a/modules/dprintf-posix-tests b/modules/dprintf-posix-tests index a205742084..c86e31dce7 100644 --- a/modules/dprintf-posix-tests +++ b/modules/dprintf-posix-tests @@ -11,7 +11,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h stdint get-rusage-as diff --git a/modules/exclude b/modules/exclude index 92f8d3c472..50f00b3509 100644 --- a/modules/exclude +++ b/modules/exclude @@ -16,7 +16,7 @@ mbscasecmp mbuiter [test "$GNULIB_MCEL_PREFER" != yes] nullptr regex -stdbool +stdbool-h unlocked-io-internal xalloc diff --git a/modules/execute b/modules/execute index 3189477fba..9eacfc2e27 100644 --- a/modules/execute +++ b/modules/execute @@ -29,7 +29,7 @@ posix_spawnattr_init posix_spawnattr_setsigmask posix_spawnattr_setflags posix_spawnattr_destroy -stdbool +stdbool-h stdlib sys_wait unistd diff --git a/modules/execute-tests b/modules/execute-tests index fc0816fd17..34d6e5670e 100644 --- a/modules/execute-tests +++ b/modules/execute-tests @@ -15,7 +15,7 @@ fcntl mkdir msvc-inval read-file -stdbool +stdbool-h stdint unistd diff --git a/modules/execvpe b/modules/execvpe index cc486e28d9..b15df01cc7 100644 --- a/modules/execvpe +++ b/modules/execvpe @@ -9,7 +9,7 @@ Depends-on: unistd extensions free-posix [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1] -stdbool [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1] +stdbool-h [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1] findprog-in [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1] execve [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1] diff --git a/modules/fatal-signal b/modules/fatal-signal index 0efcc469ae..8c847a1096 100644 --- a/modules/fatal-signal +++ b/modules/fatal-signal @@ -9,7 +9,7 @@ m4/sig_atomic_t.m4 Depends-on: c99 -stdbool +stdbool-h unistd sigaction lock diff --git a/modules/fchdir b/modules/fchdir index df69fe0b44..708922b044 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -24,7 +24,7 @@ malloc-posix [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] open [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] realloc-posix [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] stat [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] -stdbool [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] +stdbool-h [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] strdup-posix [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] sys_stat [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1] diff --git a/modules/fcntl-safer-tests b/modules/fcntl-safer-tests index b967c8aa78..29906e1607 100644 --- a/modules/fcntl-safer-tests +++ b/modules/fcntl-safer-tests @@ -4,7 +4,7 @@ tests/test-fcntl-safer.c tests/macros.h Depends-on: -stdbool +stdbool-h fcntl symlink diff --git a/modules/fcntl-tests b/modules/fcntl-tests index 5e34440e7b..a39b3d26c1 100644 --- a/modules/fcntl-tests +++ b/modules/fcntl-tests @@ -8,7 +8,7 @@ binary-io close getdtablesize msvc-nothrow -stdbool +stdbool-h configure.ac: diff --git a/modules/file-has-acl b/modules/file-has-acl index a20724bd97..ce20e2795d 100644 --- a/modules/file-has-acl +++ b/modules/file-has-acl @@ -20,7 +20,7 @@ limits-h malloc-posix ssize_t stat -stdbool +stdbool-h stdckdint configure.ac: diff --git a/modules/file-set b/modules/file-set index 532828c574..da1258486b 100644 --- a/modules/file-set +++ b/modules/file-set @@ -8,7 +8,7 @@ lib/file-set.h Depends-on: hash hash-triple-simple -stdbool +stdbool-h xalloc xalloc-die diff --git a/modules/filenamecat-tests b/modules/filenamecat-tests index 7b2a98f498..772c4dda38 100644 --- a/modules/filenamecat-tests +++ b/modules/filenamecat-tests @@ -3,7 +3,7 @@ tests/test-filenamecat.c Depends-on: idx -stdbool +stdbool-h configure.ac: diff --git a/modules/filevercmp b/modules/filevercmp index 6c11bb7278..deff54ad1d 100644 --- a/modules/filevercmp +++ b/modules/filevercmp @@ -9,7 +9,7 @@ Depends-on: assert-h c-ctype idx -stdbool +stdbool-h configure.ac: diff --git a/modules/findprog b/modules/findprog index b5f3c20d51..5839935d3a 100644 --- a/modules/findprog +++ b/modules/findprog @@ -8,7 +8,7 @@ m4/findprog.m4 m4/eaccess.m4 Depends-on: -stdbool +stdbool-h sys_stat xalloc xconcat-filename diff --git a/modules/findprog-in b/modules/findprog-in index 5f0437744b..87efc31eb5 100644 --- a/modules/findprog-in +++ b/modules/findprog-in @@ -8,7 +8,7 @@ m4/findprog-in.m4 m4/eaccess.m4 Depends-on: -stdbool +stdbool-h sys_stat filename concat-filename diff --git a/modules/findprog-lgpl b/modules/findprog-lgpl index 658183de4e..d96bb0e13e 100644 --- a/modules/findprog-lgpl +++ b/modules/findprog-lgpl @@ -9,7 +9,7 @@ m4/findprog.m4 m4/eaccess.m4 Depends-on: -stdbool +stdbool-h sys_stat strdup concat-filename diff --git a/modules/floor-tests b/modules/floor-tests index b0028b4f26..07025043a0 100644 --- a/modules/floor-tests +++ b/modules/floor-tests @@ -10,7 +10,7 @@ Depends-on: float-h isnand-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/floorf-tests b/modules/floorf-tests index bda1bf1a60..71a9401416 100644 --- a/modules/floorf-tests +++ b/modules/floorf-tests @@ -10,7 +10,7 @@ Depends-on: float-h isnanf-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/fma b/modules/fma index c84e9b2638..f854500582 100644 --- a/modules/fma +++ b/modules/fma @@ -11,7 +11,7 @@ m4/mathfunc.m4 Depends-on: math-h float-h [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] -stdbool [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +stdbool-h [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] assert-h [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] isfinite [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] integer_length [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] diff --git a/modules/fmaf b/modules/fmaf index 697b12e596..a97763f465 100644 --- a/modules/fmaf +++ b/modules/fmaf @@ -13,7 +13,7 @@ Depends-on: math-h extensions float-h [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] -stdbool [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +stdbool-h [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] assert-h [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] isfinite [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] integer_length [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] diff --git a/modules/fmal b/modules/fmal index 48b31c2ba3..795c1c8170 100644 --- a/modules/fmal +++ b/modules/fmal @@ -14,7 +14,7 @@ math-h extensions fma [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float-h [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] -stdbool [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +stdbool-h [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] assert-h [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] isfinite [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] integer_length [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/fnmatch b/modules/fnmatch index 937700f53c..660d96218d 100644 --- a/modules/fnmatch +++ b/modules/fnmatch @@ -16,7 +16,7 @@ flexmember [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] idx [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] isblank [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] libc-config [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] -stdbool [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] +stdbool-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] stdckdint [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] strnlen [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] uchar [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] diff --git a/modules/fopen b/modules/fopen index 3d538393f1..d5bdef5733 100644 --- a/modules/fopen +++ b/modules/fopen @@ -11,7 +11,7 @@ Depends-on: stdio largefile fcntl-h [test $REPLACE_FOPEN = 1] -stdbool [test $REPLACE_FOPEN = 1] +stdbool-h [test $REPLACE_FOPEN = 1] unistd [test $REPLACE_FOPEN = 1] close [test $REPLACE_FOPEN = 1] fstat [test $REPLACE_FOPEN = 1] diff --git a/modules/fopen-gnu b/modules/fopen-gnu index 8903508986..7ee83015d1 100644 --- a/modules/fopen-gnu +++ b/modules/fopen-gnu @@ -8,7 +8,7 @@ Depends-on: fopen open [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] fcntl-h [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] -stdbool [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] +stdbool-h [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] unistd [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] close [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] fstat [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1] diff --git a/modules/fprintf-posix-tests b/modules/fprintf-posix-tests index de0a8df796..3b6044bab6 100644 --- a/modules/fprintf-posix-tests +++ b/modules/fprintf-posix-tests @@ -13,7 +13,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h stdint get-rusage-as diff --git a/modules/freadable b/modules/freadable index 66267ec6cd..77b06c5c98 100644 --- a/modules/freadable +++ b/modules/freadable @@ -8,7 +8,7 @@ lib/stdio-impl.h m4/freadable.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_FUNC_FREADABLE diff --git a/modules/freading b/modules/freading index b5c00c65d2..db1989d2d1 100644 --- a/modules/freading +++ b/modules/freading @@ -8,7 +8,7 @@ lib/stdio-impl.h m4/freading.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_FUNC_FREADING diff --git a/modules/freopen-safer b/modules/freopen-safer index 8b1e8655a2..194830e714 100644 --- a/modules/freopen-safer +++ b/modules/freopen-safer @@ -11,7 +11,7 @@ attribute dup2 freopen open -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([freopen-safer]) diff --git a/modules/fstrcmp-tests b/modules/fstrcmp-tests index fa2183c113..f58761bfd7 100644 --- a/modules/fstrcmp-tests +++ b/modules/fstrcmp-tests @@ -3,7 +3,7 @@ tests/test-fstrcmp.c tests/macros.h Depends-on: -stdbool +stdbool-h configure.ac: diff --git a/modules/fsusage b/modules/fsusage index 7cbca5e1c3..eb4fd44211 100644 --- a/modules/fsusage +++ b/modules/fsusage @@ -9,7 +9,7 @@ m4/fsusage.m4 Depends-on: c99 largefile -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/fts b/modules/fts index d9b9346889..0bc757e901 100644 --- a/modules/fts +++ b/modules/fts @@ -34,7 +34,7 @@ opendir opendirat readdir realloc-posix -stdbool +stdbool-h stddef stdint diff --git a/modules/fwritable b/modules/fwritable index 7c7933eaad..fa2b946271 100644 --- a/modules/fwritable +++ b/modules/fwritable @@ -8,7 +8,7 @@ lib/stdio-impl.h m4/fwritable.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_FUNC_FWRITABLE diff --git a/modules/fwriteerror b/modules/fwriteerror index 3960762d7f..8ca448aff5 100644 --- a/modules/fwriteerror +++ b/modules/fwriteerror @@ -7,7 +7,7 @@ lib/fwriteerror.c Depends-on: errno-h -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([fwriteerror]) diff --git a/modules/fwriting b/modules/fwriting index 6040bc00d1..48b5e87750 100644 --- a/modules/fwriting +++ b/modules/fwriting @@ -8,7 +8,7 @@ lib/stdio-impl.h m4/fwriting.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_FUNC_FWRITING diff --git a/modules/gen-uni-tables b/modules/gen-uni-tables index c1c1045f68..75f1e5394b 100644 --- a/modules/gen-uni-tables +++ b/modules/gen-uni-tables @@ -9,7 +9,7 @@ lib/unictype/3levelbit.h Depends-on: memcmp -stdbool +stdbool-h strdup strstr-simple diff --git a/modules/get-rusage-as-tests b/modules/get-rusage-as-tests index 67c011d712..2c58db57ce 100644 --- a/modules/get-rusage-as-tests +++ b/modules/get-rusage-as-tests @@ -4,7 +4,7 @@ tests/qemu.h tests/macros.h Depends-on: -stdbool +stdbool-h configure.ac: diff --git a/modules/get-rusage-data-tests b/modules/get-rusage-data-tests index d18d30bc23..37f0a8db70 100644 --- a/modules/get-rusage-data-tests +++ b/modules/get-rusage-data-tests @@ -5,7 +5,7 @@ tests/macros.h m4/musl.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_MUSL_LIBC diff --git a/modules/getaddrinfo b/modules/getaddrinfo index bdb6915e9f..ed36894dbf 100644 --- a/modules/getaddrinfo +++ b/modules/getaddrinfo @@ -14,7 +14,7 @@ gettext-h [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1 || gnulib-i18n [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1 || test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1] inet_ntop [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] snprintf [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] -stdbool [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] +stdbool-h [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] strdup [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] servent [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] hostent [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1] diff --git a/modules/getcwd b/modules/getcwd index f1aa6317b9..954b371e31 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -25,7 +25,7 @@ opendir [test $REPLACE_GETCWD = 1] readdir [test $REPLACE_GETCWD = 1] rewinddir [test $REPLACE_GETCWD = 1] closedir [test $REPLACE_GETCWD = 1] -stdbool [test $REPLACE_GETCWD = 1] +stdbool-h [test $REPLACE_GETCWD = 1] malloc-posix [test $REPLACE_GETCWD = 1] strdup-posix [test $REPLACE_GETCWD = 1] diff --git a/modules/getcwd-tests b/modules/getcwd-tests index c7b0f80346..60404049a0 100644 --- a/modules/getcwd-tests +++ b/modules/getcwd-tests @@ -9,7 +9,7 @@ errno-h fcntl-h getcwd-lgpl pathmax -stdbool +stdbool-h sys_stat test-framework-sh diff --git a/modules/getloadavg b/modules/getloadavg index 93b1d92e38..8d1307864a 100644 --- a/modules/getloadavg +++ b/modules/getloadavg @@ -9,7 +9,7 @@ Depends-on: extensions intprops [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1] open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1;; esac] -stdbool [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1] +stdbool-h [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1] stdlib [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1] configure.ac: diff --git a/modules/getlogin-tests b/modules/getlogin-tests index b8fff1e3f5..1a845f338b 100644 --- a/modules/getlogin-tests +++ b/modules/getlogin-tests @@ -5,7 +5,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h configure.ac: diff --git a/modules/getlogin_r-tests b/modules/getlogin_r-tests index b53a729efa..8743afef5f 100644 --- a/modules/getlogin_r-tests +++ b/modules/getlogin_r-tests @@ -5,7 +5,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h configure.ac: diff --git a/modules/getndelim2 b/modules/getndelim2 index b6982adf16..4161158cdb 100644 --- a/modules/getndelim2 +++ b/modules/getndelim2 @@ -10,7 +10,7 @@ m4/getndelim2.m4 Depends-on: limits-h ssize_t -stdbool +stdbool-h stdint freadptr freadseek diff --git a/modules/getopt-gnu-tests b/modules/getopt-gnu-tests index 688b5ded87..67cbe8a064 100644 --- a/modules/getopt-gnu-tests +++ b/modules/getopt-gnu-tests @@ -9,7 +9,7 @@ tests/test-getopt_long.h Depends-on: dup2 setenv -stdbool +stdbool-h unistd unsetenv diff --git a/modules/getopt-posix-tests b/modules/getopt-posix-tests index fe71fcdfa4..6b36c1e738 100644 --- a/modules/getopt-posix-tests +++ b/modules/getopt-posix-tests @@ -8,7 +8,7 @@ tests/test-getopt.h Depends-on: dup2 setenv -stdbool +stdbool-h unistd unsetenv diff --git a/modules/getpass b/modules/getpass index e7eefa4c98..24b4214aff 100644 --- a/modules/getpass +++ b/modules/getpass @@ -13,7 +13,7 @@ extensions fopen-gnu fseeko getline -stdbool +stdbool-h strdup-posix configure.ac: diff --git a/modules/getrandom b/modules/getrandom index d8503bae2a..845e352ae2 100644 --- a/modules/getrandom +++ b/modules/getrandom @@ -9,7 +9,7 @@ Depends-on: sys_random fcntl-h [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1] minmax [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1] -stdbool [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1] +stdbool-h [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1] open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1;; esac] configure.ac: diff --git a/modules/git-merge-changelog b/modules/git-merge-changelog index 7bc656a2e1..b79c9991d9 100644 --- a/modules/git-merge-changelog +++ b/modules/git-merge-changelog @@ -8,7 +8,7 @@ Depends-on: c99 getopt-gnu idx -stdbool +stdbool-h stdint stdlib error diff --git a/modules/glibc-internal/dynarray b/modules/glibc-internal/dynarray index f78aea7f1a..582aa18d60 100644 --- a/modules/glibc-internal/dynarray +++ b/modules/glibc-internal/dynarray @@ -16,7 +16,7 @@ c99 builtin-expect gen-header libc-config -stdbool +stdbool-h stdckdint stddef diff --git a/modules/glibc-internal/scratch_buffer b/modules/glibc-internal/scratch_buffer index ace8a34d2c..193a18ccf4 100644 --- a/modules/glibc-internal/scratch_buffer +++ b/modules/glibc-internal/scratch_buffer @@ -13,7 +13,7 @@ c99 builtin-expect gen-header libc-config -stdbool +stdbool-h stddef malloc-posix realloc-posix diff --git a/modules/glob b/modules/glob index 857a928601..d4557a2715 100644 --- a/modules/glob +++ b/modules/glob @@ -28,7 +28,7 @@ mempcpy [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] opendir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] -stdbool [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] +stdbool-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] stdckdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] diff --git a/modules/hamt b/modules/hamt index 66ab38fbc0..3cc2b393c1 100644 --- a/modules/hamt +++ b/modules/hamt @@ -10,7 +10,7 @@ count-one-bits extern-inline flexmember inttypes-h-incomplete -stdbool +stdbool-h stdint verify xalloc diff --git a/modules/hard-locale b/modules/hard-locale index 2dbe64e4a9..5622a98b72 100644 --- a/modules/hard-locale +++ b/modules/hard-locale @@ -6,7 +6,7 @@ lib/hard-locale.h lib/hard-locale.c Depends-on: -stdbool +stdbool-h setlocale-null configure.ac: diff --git a/modules/hash b/modules/hash index e837317d9f..1d985b6e76 100644 --- a/modules/hash +++ b/modules/hash @@ -10,7 +10,7 @@ bitrotate calloc-posix free-posix malloc-posix -stdbool +stdbool-h stdint xalloc-oversized diff --git a/modules/hash-tests b/modules/hash-tests index 72a6ae61c1..e4c981036f 100644 --- a/modules/hash-tests +++ b/modules/hash-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: hash-pjw inttostr -stdbool +stdbool-h configure.ac: diff --git a/modules/hash-triple-simple b/modules/hash-triple-simple index ebb46ee4ad..a09fb3b37c 100644 --- a/modules/hash-triple-simple +++ b/modules/hash-triple-simple @@ -8,7 +8,7 @@ lib/hash-triple.h Depends-on: hash-pjw same-inode -stdbool +stdbool-h configure.ac: diff --git a/modules/human b/modules/human index 0c09f8206c..2b5722a01e 100644 --- a/modules/human +++ b/modules/human @@ -14,7 +14,7 @@ intprops localeconv memmove xstrtoumax -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/i-ring b/modules/i-ring index 1d23a9fe51..9e72b8adec 100644 --- a/modules/i-ring +++ b/modules/i-ring @@ -8,7 +8,7 @@ m4/i-ring.m4 Depends-on: assert-h -stdbool +stdbool-h configure.ac: gl_I_RING diff --git a/modules/idpriv-drop-tests b/modules/idpriv-drop-tests index 17c38637d9..eb5ce242d0 100644 --- a/modules/idpriv-drop-tests +++ b/modules/idpriv-drop-tests @@ -13,7 +13,7 @@ tests/test-idpriv-drop.c tests/macros.h Depends-on: -stdbool +stdbool-h configure.ac: diff --git a/modules/idpriv-droptemp-tests b/modules/idpriv-droptemp-tests index 254fd3a161..8075e13695 100644 --- a/modules/idpriv-droptemp-tests +++ b/modules/idpriv-droptemp-tests @@ -13,7 +13,7 @@ tests/test-idpriv-droptemp.c tests/macros.h Depends-on: -stdbool +stdbool-h configure.ac: diff --git a/modules/immutable-tests b/modules/immutable-tests index 3265fa6f89..8ec40a7535 100644 --- a/modules/immutable-tests +++ b/modules/immutable-tests @@ -4,7 +4,7 @@ tests/test-immutable.c tests/macros.h Depends-on: -stdbool +stdbool-h _Exit configure.ac: diff --git a/modules/intprops-tests b/modules/intprops-tests index 0a57ad9eeb..f15f02074e 100644 --- a/modules/intprops-tests +++ b/modules/intprops-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: assert-h inttypes-h -stdbool +stdbool-h configure.ac: diff --git a/modules/isapipe b/modules/isapipe index b065843f47..0f144b7a44 100644 --- a/modules/isapipe +++ b/modules/isapipe @@ -7,7 +7,7 @@ lib/isapipe.h m4/isapipe.m4 Depends-on: -stdbool [test $HAVE_ISAPIPE = 0] +stdbool-h [test $HAVE_ISAPIPE = 0] sys_stat [test $HAVE_ISAPIPE = 0] unistd [test $HAVE_ISAPIPE = 0] msvc-nothrow [test $HAVE_ISAPIPE = 0] diff --git a/modules/javacomp b/modules/javacomp index 85d2d2b35d..e966b07d0c 100644 --- a/modules/javacomp +++ b/modules/javacomp @@ -6,7 +6,7 @@ lib/javacomp.h lib/javacomp.c Depends-on: -stdbool +stdbool-h unistd javaversion execute diff --git a/modules/javaexec b/modules/javaexec index da8f4a4912..9c1cdf5ab7 100644 --- a/modules/javaexec +++ b/modules/javaexec @@ -6,7 +6,7 @@ lib/javaexec.h lib/javaexec.c Depends-on: -stdbool +stdbool-h execute classpath xsetenv diff --git a/modules/javaversion b/modules/javaversion index aba879f281..5cfa32c5e3 100644 --- a/modules/javaversion +++ b/modules/javaversion @@ -9,7 +9,7 @@ lib/javaversion.class Depends-on: javaexec -stdbool +stdbool-h spawn-pipe wait-process getline diff --git a/modules/lchown b/modules/lchown index 43b89a31b2..710d7bc6d3 100644 --- a/modules/lchown +++ b/modules/lchown @@ -10,7 +10,7 @@ unistd readlink [test $HAVE_LCHOWN = 0] chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] errno-h [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] -stdbool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +stdbool-h [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] sys_stat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] lstat [test $REPLACE_LCHOWN = 1] diff --git a/modules/lchown-tests b/modules/lchown-tests index 08f40d0a2c..843d5e76e6 100644 --- a/modules/lchown-tests +++ b/modules/lchown-tests @@ -12,7 +12,7 @@ mgetgroups nanosleep stdckdint stat-time -stdbool +stdbool-h symlink xconcat-filename xgetcwd diff --git a/modules/ldexp b/modules/ldexp index a835757883..e526d0270d 100644 --- a/modules/ldexp +++ b/modules/ldexp @@ -8,7 +8,7 @@ m4/ldexp.m4 Depends-on: math-h isnand [test $REPLACE_LDEXP = 1] -stdbool [test $REPLACE_LDEXP = 1] +stdbool-h [test $REPLACE_LDEXP = 1] configure.ac: gl_FUNC_LDEXP diff --git a/modules/ldexpl b/modules/ldexpl index c06b15a8bf..4e3ec2056d 100644 --- a/modules/ldexpl +++ b/modules/ldexpl @@ -12,7 +12,7 @@ extensions ldexp [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] isnanl [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] fpucw [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] -stdbool [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +stdbool-h [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_LDEXPL diff --git a/modules/libtextstyle-optional b/modules/libtextstyle-optional index 616f17eadc..a1b6c72185 100644 --- a/modules/libtextstyle-optional +++ b/modules/libtextstyle-optional @@ -8,7 +8,7 @@ m4/libtextstyle-optional.m4 Depends-on: gen-header libtextstyle -stdbool +stdbool-h stdio unistd fsync diff --git a/modules/link-tests b/modules/link-tests index 644120c52e..051030577d 100644 --- a/modules/link-tests +++ b/modules/link-tests @@ -7,7 +7,7 @@ tests/macros.h Depends-on: ignore-value errno-h -stdbool +stdbool-h sys_stat configure.ac: diff --git a/modules/list b/modules/list index 845231506d..99c86f027a 100644 --- a/modules/list +++ b/modules/list @@ -7,7 +7,7 @@ lib/gl_list.c Depends-on: extern-inline -stdbool +stdbool-h configure.ac: diff --git a/modules/localename b/modules/localename index 6f419f11b3..a9726667eb 100644 --- a/modules/localename +++ b/modules/localename @@ -11,7 +11,7 @@ locale-h localename-unsafe flexmember lock -stdbool +stdbool-h thread-optim configure.ac: diff --git a/modules/localename-unsafe b/modules/localename-unsafe index c19a838a95..8e3a325558 100644 --- a/modules/localename-unsafe +++ b/modules/localename-unsafe @@ -17,7 +17,7 @@ m4/musl.m4 Depends-on: localename-unsafe-limited extensions -stdbool +stdbool-h locale-h flexmember free-posix diff --git a/modules/long-options b/modules/long-options index fc0b53eceb..71bf978b26 100644 --- a/modules/long-options +++ b/modules/long-options @@ -9,7 +9,7 @@ Depends-on: c99 exitfail getopt-gnu -stdbool +stdbool-h stdlib version-etc diff --git a/modules/lstat-tests b/modules/lstat-tests index 3f585f7084..845c085dec 100644 --- a/modules/lstat-tests +++ b/modules/lstat-tests @@ -8,7 +8,7 @@ Depends-on: ignore-value errno-h same-inode -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/map b/modules/map index 0b611ed1cc..6145a4617f 100644 --- a/modules/map +++ b/modules/map @@ -7,7 +7,7 @@ lib/gl_map.c Depends-on: extern-inline -stdbool +stdbool-h configure.ac: diff --git a/modules/mbchar b/modules/mbchar index 7d4c8f6cec..060db39482 100644 --- a/modules/mbchar +++ b/modules/mbchar @@ -9,7 +9,7 @@ m4/mbchar.m4 Depends-on: extensions extern-inline -stdbool +stdbool-h uchar c32isalnum c32isalpha diff --git a/modules/mbfile b/modules/mbfile index 09593fcc3f..0b62d5439e 100644 --- a/modules/mbfile +++ b/modules/mbfile @@ -14,7 +14,7 @@ mbrtowc mbsinit mbszero wchar -stdbool +stdbool-h configure.ac: gl_MBFILE diff --git a/modules/mbiter b/modules/mbiter index 29d217f194..508dbf0d05 100644 --- a/modules/mbiter +++ b/modules/mbiter @@ -14,7 +14,7 @@ mbrtoc32 mbsinit mbszero uchar -stdbool +stdbool-h configure.ac: gl_MBITER diff --git a/modules/mbiterf b/modules/mbiterf index cfdddc3c23..5b28b1b685 100644 --- a/modules/mbiterf +++ b/modules/mbiterf @@ -14,7 +14,7 @@ mbrtoc32 mbsinit mbszero uchar -stdbool +stdbool-h configure.ac: gl_MBITER diff --git a/modules/mbmemcasecmp-tests b/modules/mbmemcasecmp-tests index 0a75c7e22d..cadfb0f7af 100644 --- a/modules/mbmemcasecmp-tests +++ b/modules/mbmemcasecmp-tests @@ -11,7 +11,7 @@ m4/locale-tr.m4 m4/codeset.m4 Depends-on: -stdbool +stdbool-h setlocale mbrtowc wctype-h diff --git a/modules/mbmemcasecoll b/modules/mbmemcasecoll index 7231db71ac..f6f3b5791a 100644 --- a/modules/mbmemcasecoll +++ b/modules/mbmemcasecoll @@ -7,7 +7,7 @@ lib/mbmemcasecoll.h lib/mbmemcasecoll.c Depends-on: -stdbool +stdbool-h wchar uchar malloca diff --git a/modules/mbmemcasecoll-tests b/modules/mbmemcasecoll-tests index 713749f51d..722ec026c7 100644 --- a/modules/mbmemcasecoll-tests +++ b/modules/mbmemcasecoll-tests @@ -11,7 +11,7 @@ m4/locale-tr.m4 m4/codeset.m4 Depends-on: -stdbool +stdbool-h setlocale mbrtowc wctype-h diff --git a/modules/mbscasestr b/modules/mbscasestr index 7b2324717c..a3e702214b 100644 --- a/modules/mbscasestr +++ b/modules/mbscasestr @@ -8,7 +8,7 @@ lib/str-kmp.h Depends-on: alignasof mbuiter -stdbool +stdbool-h string mbslen malloca diff --git a/modules/mbsstr b/modules/mbsstr index 8cca9dd129..fa4949b26f 100644 --- a/modules/mbsstr +++ b/modules/mbsstr @@ -8,7 +8,7 @@ lib/str-kmp.h Depends-on: alignasof mbuiter -stdbool +stdbool-h string mbslen malloca diff --git a/modules/mbuiter b/modules/mbuiter index 53a1d13dc8..ea29a5ca50 100644 --- a/modules/mbuiter +++ b/modules/mbuiter @@ -14,7 +14,7 @@ mbrtoc32 mbsinit mbszero uchar -stdbool +stdbool-h strnlen1 configure.ac: diff --git a/modules/mbuiterf b/modules/mbuiterf index b9c49de8ef..a659a8b9ce 100644 --- a/modules/mbuiterf +++ b/modules/mbuiterf @@ -14,7 +14,7 @@ mbrtoc32 mbsinit mbszero uchar -stdbool +stdbool-h strnlen1 configure.ac: diff --git a/modules/mcel b/modules/mcel index 4bdde8f95a..f81bb5b048 100644 --- a/modules/mcel +++ b/modules/mcel @@ -11,7 +11,7 @@ builtin-expect extern-inline limits-h mbrtoc32 -stdbool +stdbool-h uchar verify diff --git a/modules/mkdir-p b/modules/mkdir-p index 1e60c249da..ad37a64c87 100644 --- a/modules/mkdir-p +++ b/modules/mkdir-p @@ -22,7 +22,7 @@ quote savewd stat stat-macros -stdbool +stdbool-h sys_stat configure.ac: diff --git a/modules/mkdir-tests b/modules/mkdir-tests index fea1b63e18..967c48524d 100644 --- a/modules/mkdir-tests +++ b/modules/mkdir-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/mkfifo-tests b/modules/mkfifo-tests index 00ca98f97e..a1e4db11e4 100644 --- a/modules/mkfifo-tests +++ b/modules/mkfifo-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/mknod-tests b/modules/mknod-tests index e35ffec7c6..0132f1a1cc 100644 --- a/modules/mknod-tests +++ b/modules/mknod-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/mktime b/modules/mktime index 6d924477c5..4783935efe 100644 --- a/modules/mktime +++ b/modules/mktime @@ -13,7 +13,7 @@ multiarch assert-h [test $REPLACE_MKTIME = 1] intprops [test $REPLACE_MKTIME = 1] libc-config [test $REPLACE_MKTIME = 1] -stdbool [test $REPLACE_MKTIME = 1] +stdbool-h [test $REPLACE_MKTIME = 1] stdckdint [test $REPLACE_MKTIME = 1] time_r [test $REPLACE_MKTIME = 1] diff --git a/modules/modechange b/modules/modechange index b5b86a4186..3ee6d45b70 100644 --- a/modules/modechange +++ b/modules/modechange @@ -10,7 +10,7 @@ m4/modechange.m4 Depends-on: stat stat-macros -stdbool +stdbool-h sys_stat xalloc diff --git a/modules/mountlist b/modules/mountlist index 99d9073151..0c61ce700c 100644 --- a/modules/mountlist +++ b/modules/mountlist @@ -17,7 +17,7 @@ free-posix getline open unlocked-io-internal -stdbool +stdbool-h stdint strstr-simple xalloc diff --git a/modules/nanosleep b/modules/nanosleep index 270bfd46d3..034704d60b 100644 --- a/modules/nanosleep +++ b/modules/nanosleep @@ -12,7 +12,7 @@ multiarch assert-h [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] intprops [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] pselect [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] -stdbool [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +stdbool-h [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] sys_select [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] configure.ac: diff --git a/modules/nl_langinfo-tests b/modules/nl_langinfo-tests index 6857ef5c2b..7bd0f85892 100644 --- a/modules/nl_langinfo-tests +++ b/modules/nl_langinfo-tests @@ -17,7 +17,7 @@ c-strcasestr setlocale thread nanosleep -stdbool +stdbool-h configure.ac: gt_LOCALE_FR diff --git a/modules/nonblocking b/modules/nonblocking index b4ddb78f81..4e5c78d247 100644 --- a/modules/nonblocking +++ b/modules/nonblocking @@ -13,7 +13,7 @@ Depends-on: fcntl-h ioctl msvc-nothrow -stdbool +stdbool-h stdio sys_socket unistd diff --git a/modules/nonblocking-pipe-tests b/modules/nonblocking-pipe-tests index 93ed45f929..e03332648e 100644 --- a/modules/nonblocking-pipe-tests +++ b/modules/nonblocking-pipe-tests @@ -9,7 +9,7 @@ tests/test-nonblocking-misc.h tests/macros.h Depends-on: -stdbool +stdbool-h unistd nonblocking wait-process diff --git a/modules/nonblocking-socket-tests b/modules/nonblocking-socket-tests index 56e85486e6..f7a98cbd45 100644 --- a/modules/nonblocking-socket-tests +++ b/modules/nonblocking-socket-tests @@ -11,7 +11,7 @@ tests/socket-client.h tests/macros.h Depends-on: -stdbool +stdbool-h unistd sys_socket nonblocking diff --git a/modules/nstrftime b/modules/nstrftime index 92199941f5..a859d06675 100644 --- a/modules/nstrftime +++ b/modules/nstrftime @@ -16,7 +16,7 @@ extensions intprops libc-config localename-unsafe-limited -stdbool +stdbool-h stdckdint time_rz diff --git a/modules/omap b/modules/omap index b10344bc91..fe3542bc2b 100644 --- a/modules/omap +++ b/modules/omap @@ -7,7 +7,7 @@ lib/gl_omap.c Depends-on: extern-inline -stdbool +stdbool-h configure.ac: diff --git a/modules/open-tests b/modules/open-tests index b2b6710e5c..b5644446bd 100644 --- a/modules/open-tests +++ b/modules/open-tests @@ -5,7 +5,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h fcntl symlink diff --git a/modules/openat b/modules/openat index f839ab360a..02a2bb99a9 100644 --- a/modules/openat +++ b/modules/openat @@ -13,7 +13,7 @@ fcntl-h extensions largefile openat-h [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] -stdbool [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] +stdbool-h [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] sys_stat [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] cloexec [test $REPLACE_OPENAT = 1] fstat [test $REPLACE_OPENAT = 1] diff --git a/modules/openat-h b/modules/openat-h index 6165dff9f6..8741064db8 100644 --- a/modules/openat-h +++ b/modules/openat-h @@ -7,7 +7,7 @@ lib/openat.h Depends-on: extern-inline fcntl-h -stdbool +stdbool-h sys_stat unistd diff --git a/modules/oset b/modules/oset index 82d9462d1d..27e816ad35 100644 --- a/modules/oset +++ b/modules/oset @@ -7,7 +7,7 @@ lib/gl_oset.c Depends-on: extern-inline -stdbool +stdbool-h configure.ac: diff --git a/modules/parse-datetime b/modules/parse-datetime index 56aa1237be..fe6f468a69 100644 --- a/modules/parse-datetime +++ b/modules/parse-datetime @@ -13,7 +13,7 @@ assert-h bison c99 c-ctype -stdbool +stdbool-h gettime gettext-h gnulib-i18n diff --git a/modules/pipe-filter-gi b/modules/pipe-filter-gi index 2c8ddfb0f4..05007f2097 100644 --- a/modules/pipe-filter-gi +++ b/modules/pipe-filter-gi @@ -16,7 +16,7 @@ fcntl-h free-posix gettext-h gnulib-i18n -stdbool +stdbool-h stdint stdlib sys_select diff --git a/modules/pipe-filter-ii b/modules/pipe-filter-ii index 0363db84ba..06e5bc56e8 100644 --- a/modules/pipe-filter-ii +++ b/modules/pipe-filter-ii @@ -15,7 +15,7 @@ extern-inline fcntl-h gettext-h gnulib-i18n -stdbool +stdbool-h stdint stdlib sys_select diff --git a/modules/pipe-posix-tests b/modules/pipe-posix-tests index 3f428a0613..74cd147599 100644 --- a/modules/pipe-posix-tests +++ b/modules/pipe-posix-tests @@ -4,7 +4,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h binary-io msvc-nothrow diff --git a/modules/pipe2-tests b/modules/pipe2-tests index 74f9d5f3e3..cae1c124d0 100644 --- a/modules/pipe2-tests +++ b/modules/pipe2-tests @@ -4,7 +4,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h msvc-nothrow configure.ac: diff --git a/modules/poll-tests b/modules/poll-tests index 35df84b8f7..950f395b78 100644 --- a/modules/poll-tests +++ b/modules/poll-tests @@ -4,7 +4,7 @@ tests/signature.h tests/macros.h Depends-on: -stdbool +stdbool-h sys_socket netinet_in-h arpa_inet-h diff --git a/modules/posix_spawn-internal b/modules/posix_spawn-internal index 7e80c6dc15..192e765dcb 100644 --- a/modules/posix_spawn-internal +++ b/modules/posix_spawn-internal @@ -20,7 +20,7 @@ concat-filename [test $HAVE_POSIX_SPAWN = 0] findprog-in [test $HAVE_POSIX_SPAWN = 0] free-posix [test $HAVE_POSIX_SPAWN = 0] malloca [test $HAVE_POSIX_SPAWN = 0] -stdbool [test $HAVE_POSIX_SPAWN = 0] +stdbool-h [test $HAVE_POSIX_SPAWN = 0] windows-spawn [test $HAVE_POSIX_SPAWN = 0] configure.ac: diff --git a/modules/posix_spawn-tests b/modules/posix_spawn-tests index ef56cf6023..828dd51549 100644 --- a/modules/posix_spawn-tests +++ b/modules/posix_spawn-tests @@ -14,7 +14,7 @@ Depends-on: posix_spawn_file_actions_init posix_spawn_file_actions_addopen posix_spawn_file_actions_destroy -stdbool +stdbool-h unistd sys_wait environ diff --git a/modules/posix_spawn_file_actions_addfchdir-tests b/modules/posix_spawn_file_actions_addfchdir-tests index 5f41961ab2..e7229b4dae 100644 --- a/modules/posix_spawn_file_actions_addfchdir-tests +++ b/modules/posix_spawn_file_actions_addfchdir-tests @@ -9,7 +9,7 @@ Depends-on: posix_spawn_file_actions_init posix_spawn_file_actions_destroy posix_spawnp-tests -stdbool +stdbool-h findprog xvasprintf diff --git a/modules/posix_spawnp-tests b/modules/posix_spawnp-tests index 16369ff52f..62bfb1b9a1 100644 --- a/modules/posix_spawnp-tests +++ b/modules/posix_spawnp-tests @@ -20,7 +20,7 @@ posix_spawnattr_init posix_spawnattr_setsigmask posix_spawnattr_setflags posix_spawnattr_destroy -stdbool +stdbool-h unistd sys_wait dup diff --git a/modules/posixtm b/modules/posixtm index c4fb60953a..e4f96657f9 100644 --- a/modules/posixtm +++ b/modules/posixtm @@ -10,7 +10,7 @@ Depends-on: c-ctype idx mktime -stdbool +stdbool-h stdckdint time verify diff --git a/modules/priv-set b/modules/priv-set index ad8d91cce7..9b7ce2697b 100644 --- a/modules/priv-set +++ b/modules/priv-set @@ -9,7 +9,7 @@ m4/priv-set.m4 Depends-on: errno-h extern-inline -stdbool +stdbool-h configure.ac: gl_PRIV_SET diff --git a/modules/propername b/modules/propername index 7384881d89..52949770c8 100644 --- a/modules/propername +++ b/modules/propername @@ -7,7 +7,7 @@ lib/propername.c Depends-on: c32isalnum -stdbool +stdbool-h trim mbsstr mbchar diff --git a/modules/pselect-tests b/modules/pselect-tests index bdadf6b689..9483e06218 100644 --- a/modules/pselect-tests +++ b/modules/pselect-tests @@ -5,7 +5,7 @@ tests/macros.h tests/signature.h Depends-on: -stdbool +stdbool-h netinet_in-h arpa_inet-h unistd diff --git a/modules/pthread-rwlock-extra-tests b/modules/pthread-rwlock-extra-tests index 2d93488dfd..032d2a4fc5 100644 --- a/modules/pthread-rwlock-extra-tests +++ b/modules/pthread-rwlock-extra-tests @@ -9,7 +9,7 @@ Depends-on: extensions pthread-thread nanosleep -stdbool +stdbool-h configure.ac: diff --git a/modules/pthread-spin b/modules/pthread-spin index 36b6180c90..25fd657f05 100644 --- a/modules/pthread-spin +++ b/modules/pthread-spin @@ -8,7 +8,7 @@ m4/atomic-cas.m4 Depends-on: pthread-h -stdbool [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1] +stdbool-h [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1] windows-spin [test $gl_threads_api = windows] configure.ac: diff --git a/modules/quotearg b/modules/quotearg index e449b75728..8fed2b766b 100644 --- a/modules/quotearg +++ b/modules/quotearg @@ -21,7 +21,7 @@ memcmp minmax quotearg-simple localcharset -stdbool +stdbool-h stdint uchar xalloc diff --git a/modules/readlink-tests b/modules/readlink-tests index cbd84a5349..104d9dd7fb 100644 --- a/modules/readlink-tests +++ b/modules/readlink-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/readtokens b/modules/readtokens index 2496a96a5b..89625c921f 100644 --- a/modules/readtokens +++ b/modules/readtokens @@ -8,7 +8,7 @@ m4/readtokens.m4 Depends-on: xalloc -stdbool +stdbool-h configure.ac: gl_READTOKENS diff --git a/modules/readtokens0 b/modules/readtokens0 index a7b563129d..091b95cbf2 100644 --- a/modules/readtokens0 +++ b/modules/readtokens0 @@ -7,7 +7,7 @@ lib/readtokens0.c Depends-on: obstack -stdbool +stdbool-h configure.ac: diff --git a/modules/readutmp b/modules/readutmp index 0127099187..16065681db 100644 --- a/modules/readutmp +++ b/modules/readutmp @@ -13,7 +13,7 @@ extensions idx stat-time gettimeofday -stdbool +stdbool-h stdint strnlen time-h diff --git a/modules/regex b/modules/regex index 5e7feef374..ab046e17a9 100644 --- a/modules/regex +++ b/modules/regex @@ -36,7 +36,7 @@ memmove [test $ac_use_included_regex = yes] mbrtowc [test $ac_use_included_regex = yes] mbsinit [test $ac_use_included_regex = yes] nl_langinfo [test $ac_use_included_regex = yes] -stdbool [test $ac_use_included_regex = yes] +stdbool-h [test $ac_use_included_regex = yes] stdckdint [test $ac_use_included_regex = yes] stdint [test $ac_use_included_regex = yes] verify [test $ac_use_included_regex = yes] diff --git a/modules/regex-quote b/modules/regex-quote index bdfaeb7d9d..bdc2934e39 100644 --- a/modules/regex-quote +++ b/modules/regex-quote @@ -6,7 +6,7 @@ lib/regex-quote.h lib/regex-quote.c Depends-on: -stdbool +stdbool-h xalloc mbuiter mempcpy diff --git a/modules/relocatable-prog b/modules/relocatable-prog index 4d13fda63b..22ac5cda4f 100644 --- a/modules/relocatable-prog +++ b/modules/relocatable-prog @@ -22,7 +22,7 @@ canonicalize-lgpl xalloc xreadlink open -stdbool +stdbool-h unistd memcmp strdup diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper index 6e822df437..837c089a47 100644 --- a/modules/relocatable-prog-wrapper +++ b/modules/relocatable-prog-wrapper @@ -69,7 +69,7 @@ libc-config limits-h pathmax ssize_t -stdbool +stdbool-h stddef stdckdint stdint diff --git a/modules/rename b/modules/rename index d06d4c6f25..44b14179ef 100644 --- a/modules/rename +++ b/modules/rename @@ -15,7 +15,7 @@ lstat [test $REPLACE_RENAME = 1] rmdir [test $REPLACE_RENAME = 1] same-inode [test $REPLACE_RENAME = 1] stat [test $REPLACE_RENAME = 1] -stdbool [test $REPLACE_RENAME = 1] +stdbool-h [test $REPLACE_RENAME = 1] strdup [test $REPLACE_RENAME = 1] configure.ac: diff --git a/modules/rename-tests b/modules/rename-tests index 790071f258..3e6dc3e1c4 100644 --- a/modules/rename-tests +++ b/modules/rename-tests @@ -8,7 +8,7 @@ Depends-on: ignore-value errno-h link -stdbool +stdbool-h symlink sys_stat opendir diff --git a/modules/renameatu b/modules/renameatu index 3fc68a91dc..0568a3fefe 100644 --- a/modules/renameatu +++ b/modules/renameatu @@ -15,7 +15,7 @@ filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] openat-h [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] fstatat [test $REPLACE_RENAMEAT = 1] readlinkat [test $REPLACE_RENAMEAT = 1] -stdbool [test $REPLACE_RENAMEAT = 1] +stdbool-h [test $REPLACE_RENAMEAT = 1] at-internal [test $HAVE_RENAMEAT = 0] filename [test $HAVE_RENAMEAT = 0] fstat [test $HAVE_RENAMEAT = 0] diff --git a/modules/rmdir-tests b/modules/rmdir-tests index 19a5240ef2..54130405c2 100644 --- a/modules/rmdir-tests +++ b/modules/rmdir-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/round-tests b/modules/round-tests index 358ddacfbe..64c05fadb7 100644 --- a/modules/round-tests +++ b/modules/round-tests @@ -10,7 +10,7 @@ Depends-on: assert-h isnand-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/roundf-tests b/modules/roundf-tests index 6638dc3ed8..3e7c92dbc2 100644 --- a/modules/roundf-tests +++ b/modules/roundf-tests @@ -13,7 +13,7 @@ ceilf floorf isnanf-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/rpmatch b/modules/rpmatch index 2b9f51a772..1a55aaac26 100644 --- a/modules/rpmatch +++ b/modules/rpmatch @@ -8,7 +8,7 @@ m4/rpmatch.m4 Depends-on: stdlib extensions -stdbool [test $HAVE_RPMATCH = 0] +stdbool-h [test $HAVE_RPMATCH = 0] gettext-h [test $HAVE_RPMATCH = 0] gnulib-i18n [test $HAVE_RPMATCH = 0] regex [test $HAVE_RPMATCH = 0] diff --git a/modules/same b/modules/same index 979cdcd5b8..7e76a2b500 100644 --- a/modules/same +++ b/modules/same @@ -15,7 +15,7 @@ fstat fstatat openat same-inode -stdbool +stdbool-h memcmp configure.ac: diff --git a/modules/same-inode b/modules/same-inode index f31ade64fc..57e5d282a6 100644 --- a/modules/same-inode +++ b/modules/same-inode @@ -7,7 +7,7 @@ lib/same-inode.h Depends-on: extern-inline -stdbool +stdbool-h sys_types configure.ac: diff --git a/modules/save-cwd b/modules/save-cwd index 12eb8f1b90..62e9733865 100644 --- a/modules/save-cwd +++ b/modules/save-cwd @@ -11,7 +11,7 @@ chdir-long fchdir getcwd-lgpl open -stdbool +stdbool-h configure.ac: gl_SAVE_CWD diff --git a/modules/savewd b/modules/savewd index b4492d30a4..adc82241e1 100644 --- a/modules/savewd +++ b/modules/savewd @@ -16,7 +16,7 @@ fchdir fcntl-h filename raise -stdbool +stdbool-h stdlib sys_wait unistd diff --git a/modules/select-tests b/modules/select-tests index 844f31eb50..903aedf397 100644 --- a/modules/select-tests +++ b/modules/select-tests @@ -9,7 +9,7 @@ tests/test-select-out.sh tests/test-select-stdin.c Depends-on: -stdbool +stdbool-h sys_socket netinet_in-h arpa_inet-h diff --git a/modules/set b/modules/set index 29cec7456a..094679b8e0 100644 --- a/modules/set +++ b/modules/set @@ -7,7 +7,7 @@ lib/gl_set.c Depends-on: extern-inline -stdbool +stdbool-h configure.ac: diff --git a/modules/spawn-pipe b/modules/spawn-pipe index a1693d930b..ab1e33d0f8 100644 --- a/modules/spawn-pipe +++ b/modules/spawn-pipe @@ -37,7 +37,7 @@ posix_spawnattr_setpgroup posix_spawnattr_setsigmask posix_spawnattr_setflags posix_spawnattr_destroy -stdbool +stdbool-h stdlib unistd unistd-safer diff --git a/modules/spawn-pipe-tests b/modules/spawn-pipe-tests index 64bcde2b59..d8e52fc49d 100644 --- a/modules/spawn-pipe-tests +++ b/modules/spawn-pipe-tests @@ -12,7 +12,7 @@ tests/macros.h Depends-on: close msvc-inval -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/stack b/modules/stack index 95f2ce9b9d..bdeae1df61 100644 --- a/modules/stack +++ b/modules/stack @@ -6,7 +6,7 @@ lib/stack.h Depends-on: assure -stdbool +stdbool-h stdlib xalloc diff --git a/modules/stat b/modules/stat index ae8c2c1f9e..7b0f8d991f 100644 --- a/modules/stat +++ b/modules/stat @@ -15,7 +15,7 @@ filename [test $REPLACE_STAT = 1] malloca [test $REPLACE_STAT = 1] pathmax [test $REPLACE_STAT = 1] stat-time [test $REPLACE_STAT = 1] -stdbool [test $REPLACE_STAT = 1] +stdbool-h [test $REPLACE_STAT = 1] configure.ac: gl_FUNC_STAT diff --git a/modules/stat-tests b/modules/stat-tests index 60ecc174a4..b1bb953256 100644 --- a/modules/stat-tests +++ b/modules/stat-tests @@ -7,7 +7,7 @@ tests/macros.h Depends-on: getcwd-lgpl same-inode -stdbool +stdbool-h symlink configure.ac: diff --git a/modules/stdbit-h b/modules/stdbit-h index ddf1770ef8..99a536b4a8 100644 --- a/modules/stdbit-h +++ b/modules/stdbit-h @@ -9,7 +9,7 @@ m4/stdbit_h.m4 Depends-on: gen-header extern-inline [$GL_GENERATE_STDBIT_H] -stdbool [$GL_GENERATE_STDBIT_H] +stdbool-h [$GL_GENERATE_STDBIT_H] configure.ac: gl_STDBIT_H diff --git a/modules/stdbool b/modules/stdbool index 2e771a2336..709db2e80f 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -1,14 +1,18 @@ Description: A bool that is like C23. +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'stdbool-h' instead. + Files: -m4/c-bool.m4 Depends-on: -c99 +stdbool-h configure.ac: -gl_C_BOOL Makefile.am: @@ -18,4 +22,3 @@ License: LGPLv2+ Maintainer: -all diff --git a/modules/stdbool-c++-tests b/modules/stdbool-c++-tests deleted file mode 100644 index 4d44e8ef80..0000000000 --- a/modules/stdbool-c++-tests +++ /dev/null @@ -1,18 +0,0 @@ -Files: -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-c++ -check_PROGRAMS += test-stdbool-c++ -test_stdbool_c___SOURCES = test-stdbool-c++.cc test-stdbool-c++2.cc -endif diff --git a/modules/stdbool-h b/modules/stdbool-h new file mode 100644 index 0000000000..2e771a2336 --- /dev/null +++ b/modules/stdbool-h @@ -0,0 +1,21 @@ +Description: +A bool that is like C23. + +Files: +m4/c-bool.m4 + +Depends-on: +c99 + +configure.ac: +gl_C_BOOL + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +all diff --git a/modules/stdbool-h-c++-tests b/modules/stdbool-h-c++-tests new file mode 100644 index 0000000000..5d8e401b57 --- /dev/null +++ b/modules/stdbool-h-c++-tests @@ -0,0 +1,18 @@ +Files: +tests/test-stdbool-h-c++.cc +tests/test-stdbool-h-c++2.cc + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-stdbool-h-c++ +check_PROGRAMS += test-stdbool-h-c++ +test_stdbool_h_c___SOURCES = test-stdbool-h-c++.cc test-stdbool-h-c++2.cc +endif diff --git a/modules/stdbool-h-c99-c++-tests b/modules/stdbool-h-c99-c++-tests index d946164af3..e742588d11 100644 --- a/modules/stdbool-h-c99-c++-tests +++ b/modules/stdbool-h-c99-c++-tests @@ -1,7 +1,7 @@ Files: tests/test-stdbool-h-c99-c++.cc -tests/test-stdbool-c++.cc -tests/test-stdbool-c++2.cc +tests/test-stdbool-h-c++.cc +tests/test-stdbool-h-c++2.cc Status: c++-test diff --git a/modules/stdbool-h-c99-tests b/modules/stdbool-h-c99-tests index bee24f4556..08ffd5362e 100644 --- a/modules/stdbool-h-c99-tests +++ b/modules/stdbool-h-c99-tests @@ -1,6 +1,6 @@ Files: tests/test-stdbool-h-c99.c -tests/test-stdbool.c +tests/test-stdbool-h.c Depends-on: stdbool-h-c99-c++-tests diff --git a/modules/stdbool-h-tests b/modules/stdbool-h-tests new file mode 100644 index 0000000000..cd485664d4 --- /dev/null +++ b/modules/stdbool-h-tests @@ -0,0 +1,11 @@ +Files: +tests/test-stdbool-h.c + +Depends-on: +stdbool-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-stdbool-h +check_PROGRAMS += test-stdbool-h diff --git a/modules/stdbool-tests b/modules/stdbool-tests deleted file mode 100644 index 0f875fbeed..0000000000 --- a/modules/stdbool-tests +++ /dev/null @@ -1,11 +0,0 @@ -Files: -tests/test-stdbool.c - -Depends-on: -stdbool-c++-tests - -configure.ac: - -Makefile.am: -TESTS += test-stdbool -check_PROGRAMS += test-stdbool diff --git a/modules/stdc_bit_ceil-tests b/modules/stdc_bit_ceil-tests index 67fd8ebf0d..f17721ec2f 100644 --- a/modules/stdc_bit_ceil-tests +++ b/modules/stdc_bit_ceil-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_bit_floor-tests b/modules/stdc_bit_floor-tests index 5eb9359866..1ccdbdcd15 100644 --- a/modules/stdc_bit_floor-tests +++ b/modules/stdc_bit_floor-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_bit_width-tests b/modules/stdc_bit_width-tests index 0c264229da..7d843427f2 100644 --- a/modules/stdc_bit_width-tests +++ b/modules/stdc_bit_width-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_count_ones-tests b/modules/stdc_count_ones-tests index c7fc0bfbbc..b50fb1f94c 100644 --- a/modules/stdc_count_ones-tests +++ b/modules/stdc_count_ones-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_count_zeros-tests b/modules/stdc_count_zeros-tests index c78f71005e..35edd1496f 100644 --- a/modules/stdc_count_zeros-tests +++ b/modules/stdc_count_zeros-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_first_leading_one-tests b/modules/stdc_first_leading_one-tests index 4ec69f5180..ea8fe857f0 100644 --- a/modules/stdc_first_leading_one-tests +++ b/modules/stdc_first_leading_one-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_first_leading_zero-tests b/modules/stdc_first_leading_zero-tests index cf654066a5..5d689c10ba 100644 --- a/modules/stdc_first_leading_zero-tests +++ b/modules/stdc_first_leading_zero-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_first_trailing_one-tests b/modules/stdc_first_trailing_one-tests index a021e12c66..0c14ae3f6e 100644 --- a/modules/stdc_first_trailing_one-tests +++ b/modules/stdc_first_trailing_one-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_first_trailing_zero-tests b/modules/stdc_first_trailing_zero-tests index e7e541625c..e98bc4be61 100644 --- a/modules/stdc_first_trailing_zero-tests +++ b/modules/stdc_first_trailing_zero-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_has_single_bit-tests b/modules/stdc_has_single_bit-tests index 2540299f00..80da8d12ce 100644 --- a/modules/stdc_has_single_bit-tests +++ b/modules/stdc_has_single_bit-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_leading_ones-tests b/modules/stdc_leading_ones-tests index b8901367c3..eecb092688 100644 --- a/modules/stdc_leading_ones-tests +++ b/modules/stdc_leading_ones-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_leading_zeros-tests b/modules/stdc_leading_zeros-tests index 0d7bfb67a9..e3a1c25d96 100644 --- a/modules/stdc_leading_zeros-tests +++ b/modules/stdc_leading_zeros-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_trailing_ones-tests b/modules/stdc_trailing_ones-tests index 24bde0bca7..dcae89b689 100644 --- a/modules/stdc_trailing_ones-tests +++ b/modules/stdc_trailing_ones-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdc_trailing_zeros-tests b/modules/stdc_trailing_zeros-tests index 5ed01dfd58..e70628e2a0 100644 --- a/modules/stdc_trailing_zeros-tests +++ b/modules/stdc_trailing_zeros-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: libc-config -stdbool +stdbool-h stdint assert-h diff --git a/modules/stdckdint b/modules/stdckdint index d2d3a11a5c..e102527588 100644 --- a/modules/stdckdint +++ b/modules/stdckdint @@ -7,7 +7,7 @@ lib/intprops-internal.h Depends-on: gen-header -stdbool +stdbool-h configure.ac: AC_CHECK_HEADERS_ONCE([stdckdint.h]) diff --git a/modules/stdckdint-tests b/modules/stdckdint-tests index 8f9103b603..0b5cb2c804 100644 --- a/modules/stdckdint-tests +++ b/modules/stdckdint-tests @@ -6,7 +6,7 @@ tests/test-stdckdint.c Depends-on: assert-h inttypes-h -stdbool +stdbool-h stdckdint-c++-tests configure.ac: diff --git a/modules/strcasestr b/modules/strcasestr index d752ec9ccd..113da1c54b 100644 --- a/modules/strcasestr +++ b/modules/strcasestr @@ -5,7 +5,7 @@ Files: lib/strcasestr.c Depends-on: -stdbool +stdbool-h strcasestr-simple configure.ac: diff --git a/modules/strcasestr-simple b/modules/strcasestr-simple index 3c8869d78d..f7105e7f55 100644 --- a/modules/strcasestr-simple +++ b/modules/strcasestr-simple @@ -8,7 +8,7 @@ m4/strcasestr.m4 Depends-on: string -stdbool +stdbool-h strcase memchr memcmp diff --git a/modules/strfmon_l b/modules/strfmon_l index bbad6e1a67..30bc715e59 100644 --- a/modules/strfmon_l +++ b/modules/strfmon_l @@ -10,7 +10,7 @@ m4/codeset.m4 Depends-on: monetary-h extensions -stdbool [test $REPLACE_STRFMON_L = 1] +stdbool-h [test $REPLACE_STRFMON_L = 1] configure.ac: gl_FUNC_STRFMON_L diff --git a/modules/striconveh b/modules/striconveh index 7e039ec146..38862522a6 100644 --- a/modules/striconveh +++ b/modules/striconveh @@ -7,7 +7,7 @@ lib/striconveh.c lib/iconveh.h Depends-on: -stdbool +stdbool-h iconv iconv_open unistr/u8-prev diff --git a/modules/striconveha b/modules/striconveha index 32328fb1f7..29df90cccd 100644 --- a/modules/striconveha +++ b/modules/striconveha @@ -7,7 +7,7 @@ lib/striconveha.h lib/striconveha.c Depends-on: -stdbool +stdbool-h striconveh malloca strdup diff --git a/modules/string-buffer b/modules/string-buffer index 128f98e462..7580ba368f 100644 --- a/modules/string-buffer +++ b/modules/string-buffer @@ -7,7 +7,7 @@ lib/string-buffer.c lib/string-buffer-printf.c Depends-on: -stdbool +stdbool-h attribute string-desc stdarg-h diff --git a/modules/string-desc b/modules/string-desc index e3f092dd09..b6ac03d1b1 100644 --- a/modules/string-desc +++ b/modules/string-desc @@ -7,7 +7,7 @@ lib/string-desc.c lib/string-desc-contains.c Depends-on: -stdbool +stdbool-h idx c-ctype ialloc diff --git a/modules/strptime b/modules/strptime index 4fe2c5ef69..44df3a08dd 100644 --- a/modules/strptime +++ b/modules/strptime @@ -12,7 +12,7 @@ extensions sys_time [test $HAVE_STRPTIME = 0] string [test $HAVE_STRPTIME = 0] strcase [test $HAVE_STRPTIME = 0] -stdbool [test $HAVE_STRPTIME = 0] +stdbool-h [test $HAVE_STRPTIME = 0] time_r [test $HAVE_STRPTIME = 0] configure.ac: diff --git a/modules/strstr-simple b/modules/strstr-simple index bd52b17310..acc7d14694 100644 --- a/modules/strstr-simple +++ b/modules/strstr-simple @@ -9,7 +9,7 @@ m4/strstr.m4 Depends-on: string builtin-expect [test $REPLACE_STRSTR = 1] -stdbool [test $REPLACE_STRSTR = 1] +stdbool-h [test $REPLACE_STRSTR = 1] memchr [test $REPLACE_STRSTR = 1] memcmp [test $REPLACE_STRSTR = 1] diff --git a/modules/strtod b/modules/strtod index bd6ca7be38..e316c4463a 100644 --- a/modules/strtod +++ b/modules/strtod @@ -11,7 +11,7 @@ stdlib strtod-obsolete c-ctype [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1] math-h [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1] -stdbool [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1] +stdbool-h [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1] configure.ac: gl_FUNC_STRTOD diff --git a/modules/strtof b/modules/strtof index a19de194dd..ecc30282f5 100644 --- a/modules/strtof +++ b/modules/strtof @@ -11,7 +11,7 @@ Depends-on: stdlib c-ctype [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1] math-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1] -stdbool [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1] +stdbool-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1] configure.ac: gl_FUNC_STRTOF diff --git a/modules/strtold b/modules/strtold index 46f853c075..c0511c9a86 100644 --- a/modules/strtold +++ b/modules/strtold @@ -12,7 +12,7 @@ Depends-on: stdlib c-ctype [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1] math-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1] -stdbool [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1] +stdbool-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1] strtod [{ test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] configure.ac: diff --git a/modules/supersede b/modules/supersede index 1f434fe221..7d1520992c 100644 --- a/modules/supersede +++ b/modules/supersede @@ -9,7 +9,7 @@ m4/supersede.m4 Depends-on: c99 fcntl-h -stdbool +stdbool-h sys_stat clean-temp tempname diff --git a/modules/symlink-tests b/modules/symlink-tests index a07074e325..a2a0365408 100644 --- a/modules/symlink-tests +++ b/modules/symlink-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h configure.ac: diff --git a/modules/system-quote b/modules/system-quote index cd933986a1..f12f524e7b 100644 --- a/modules/system-quote +++ b/modules/system-quote @@ -7,7 +7,7 @@ lib/system-quote.c Depends-on: sh-quote -stdbool +stdbool-h xalloc configure.ac: diff --git a/modules/system-quote-tests b/modules/system-quote-tests index 8ac3a67357..02e18e454d 100644 --- a/modules/system-quote-tests +++ b/modules/system-quote-tests @@ -8,7 +8,7 @@ tests/test-system-quote-child.c tests/macros.h Depends-on: -stdbool +stdbool-h unistd popen pclose diff --git a/modules/tempname b/modules/tempname index 25d27f3e56..72ce6ff870 100644 --- a/modules/tempname +++ b/modules/tempname @@ -16,7 +16,7 @@ getrandom libc-config lstat mkdir -stdbool +stdbool-h stdint sys_stat time-h diff --git a/modules/term-style-control b/modules/term-style-control index 9bc9f5e7b9..866cb0c90d 100644 --- a/modules/term-style-control +++ b/modules/term-style-control @@ -7,7 +7,7 @@ lib/term-style-control.c m4/tcgetattr.m4 Depends-on: -stdbool +stdbool-h fatal-signal sigaction sigprocmask diff --git a/modules/term-style-control-tests b/modules/term-style-control-tests index 921c42fadd..c051966a42 100644 --- a/modules/term-style-control-tests +++ b/modules/term-style-control-tests @@ -3,7 +3,7 @@ tests/test-term-style-control-hello.c tests/test-term-style-control-yes.c Depends-on: -stdbool +stdbool-h unistd full-write diff --git a/modules/time_rz b/modules/time_rz index 6111864ca2..64b6ca9bd0 100644 --- a/modules/time_rz +++ b/modules/time_rz @@ -13,7 +13,7 @@ time-h flexmember [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] idx [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] setenv [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] -stdbool [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] +stdbool-h [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] time_r [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] timegm [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] tzset [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1] diff --git a/modules/timespec-add b/modules/timespec-add index d509f3019e..f1251bb4bf 100644 --- a/modules/timespec-add +++ b/modules/timespec-add @@ -7,7 +7,7 @@ lib/timespec-add.c Depends-on: c99 intprops -stdbool +stdbool-h stdckdint timespec diff --git a/modules/timespec-sub b/modules/timespec-sub index 1fd2309ae4..39d3d69e68 100644 --- a/modules/timespec-sub +++ b/modules/timespec-sub @@ -7,7 +7,7 @@ lib/timespec-sub.c Depends-on: c99 intprops -stdbool +stdbool-h stdckdint timespec diff --git a/modules/timespec-tests b/modules/timespec-tests index ecd0dae4fd..c7c14f1d32 100644 --- a/modules/timespec-tests +++ b/modules/timespec-tests @@ -5,7 +5,7 @@ tests/macros.h Depends-on: dtotimespec intprops -stdbool +stdbool-h timespec-add timespec-sub diff --git a/modules/tmpdir b/modules/tmpdir index 591a741ed0..be47108cd8 100644 --- a/modules/tmpdir +++ b/modules/tmpdir @@ -9,7 +9,7 @@ m4/tmpdir.m4 Depends-on: secure_getenv stat -stdbool +stdbool-h sys_stat pathmax diff --git a/modules/tmpfile b/modules/tmpfile index 261189c657..426d9fb6cc 100644 --- a/modules/tmpfile +++ b/modules/tmpfile @@ -9,7 +9,7 @@ Depends-on: stdio largefile pathmax [test $REPLACE_TMPFILE = 1] -stdbool [test $REPLACE_TMPFILE = 1] +stdbool-h [test $REPLACE_TMPFILE = 1] tempname [test $REPLACE_TMPFILE = 1] tmpdir [test $REPLACE_TMPFILE = 1] diff --git a/modules/totalorderl b/modules/totalorderl index d546d32267..1e382930c0 100644 --- a/modules/totalorderl +++ b/modules/totalorderl @@ -13,7 +13,7 @@ math-h extensions totalorder [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float-h [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] -stdbool [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +stdbool-h [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] isnanl [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] signbit [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/totalordermagl b/modules/totalordermagl index feb1b7f313..e8e05be2c7 100644 --- a/modules/totalordermagl +++ b/modules/totalordermagl @@ -13,7 +13,7 @@ math-h extensions totalordermag [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] -stdbool [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +stdbool-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] stdint [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] verify [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] isnanl [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/trunc-tests b/modules/trunc-tests index a9d7fea510..3e0338746c 100644 --- a/modules/trunc-tests +++ b/modules/trunc-tests @@ -10,7 +10,7 @@ Depends-on: float-h isnand-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/truncf-tests b/modules/truncf-tests index e59cbc87da..83505bf68b 100644 --- a/modules/truncf-tests +++ b/modules/truncf-tests @@ -10,7 +10,7 @@ Depends-on: float-h isnanf-nolibm nan -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/u64 b/modules/u64 index 1be7420bda..77fbe76a3c 100644 --- a/modules/u64 +++ b/modules/u64 @@ -8,7 +8,7 @@ lib/u64.c Depends-on: byteswap extern-inline -stdbool +stdbool-h stdint configure.ac: diff --git a/modules/unicase/base b/modules/unicase/base index 7cf4f57d7e..230dbe6428 100644 --- a/modules/unicase/base +++ b/modules/unicase/base @@ -10,7 +10,7 @@ Depends-on: gen-header unitypes uninorm/base -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_LIBHEADER([1.2], [unicase.h]) diff --git a/modules/unicase/cased b/modules/unicase/cased index 1cdf28873f..d30b7e70fa 100644 --- a/modules/unicase/cased +++ b/modules/unicase/cased @@ -9,7 +9,7 @@ lib/unictype/bitmap.h Depends-on: unitypes -stdbool +stdbool-h configure.ac: AC_REQUIRE([AC_C_INLINE]) diff --git a/modules/unicase/ignorable b/modules/unicase/ignorable index 0e1dcb6c5a..4a0b29cddf 100644 --- a/modules/unicase/ignorable +++ b/modules/unicase/ignorable @@ -9,7 +9,7 @@ lib/unictype/bitmap.h Depends-on: unitypes -stdbool +stdbool-h configure.ac: AC_REQUIRE([AC_C_INLINE]) diff --git a/modules/unicase/u16-casemap b/modules/unicase/u16-casemap index fe9f1eaf9d..2a22ee3e22 100644 --- a/modules/unicase/u16-casemap +++ b/modules/unicase/u16-casemap @@ -18,7 +18,7 @@ unistr/u16-mbtouc-unsafe unistr/u16-uctomb unistr/u16-cpy uninorm/u16-normalize -stdbool +stdbool-h configure.ac: diff --git a/modules/unicase/u16-ct-totitle b/modules/unicase/u16-ct-totitle index 9ffc45f7b0..7ecdb278c0 100644 --- a/modules/unicase/u16-ct-totitle +++ b/modules/unicase/u16-ct-totitle @@ -20,7 +20,7 @@ unistr/u16-mbtouc-unsafe unistr/u16-uctomb unistr/u16-cpy uninorm/u16-normalize -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_MODULE([1.3], [unicase/u16-ct-totitle]) diff --git a/modules/unicase/u16-is-invariant b/modules/unicase/u16-is-invariant index 6cc40f98a2..b4cf576b63 100644 --- a/modules/unicase/u16-is-invariant +++ b/modules/unicase/u16-is-invariant @@ -12,7 +12,7 @@ uninorm/base uninorm/u16-normalize uninorm/nfd unistr/u16-cmp -stdbool +stdbool-h configure.ac: diff --git a/modules/unicase/u32-casemap b/modules/unicase/u32-casemap index d380983f8b..26b103b048 100644 --- a/modules/unicase/u32-casemap +++ b/modules/unicase/u32-casemap @@ -18,7 +18,7 @@ unistr/u32-mbtouc-unsafe unistr/u32-uctomb unistr/u32-cpy uninorm/u32-normalize -stdbool +stdbool-h configure.ac: diff --git a/modules/unicase/u32-ct-totitle b/modules/unicase/u32-ct-totitle index d9329aff4a..970b61938b 100644 --- a/modules/unicase/u32-ct-totitle +++ b/modules/unicase/u32-ct-totitle @@ -20,7 +20,7 @@ unistr/u32-mbtouc-unsafe unistr/u32-uctomb unistr/u32-cpy uninorm/u32-normalize -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_MODULE([1.3], [unicase/u32-ct-totitle]) diff --git a/modules/unicase/u32-is-invariant b/modules/unicase/u32-is-invariant index 822765142e..4befb5ceec 100644 --- a/modules/unicase/u32-is-invariant +++ b/modules/unicase/u32-is-invariant @@ -12,7 +12,7 @@ uninorm/base uninorm/u32-normalize uninorm/nfd unistr/u32-cmp -stdbool +stdbool-h configure.ac: diff --git a/modules/unicase/u8-casemap b/modules/unicase/u8-casemap index d5334baa2c..e2a9862069 100644 --- a/modules/unicase/u8-casemap +++ b/modules/unicase/u8-casemap @@ -18,7 +18,7 @@ unistr/u8-mbtouc-unsafe unistr/u8-uctomb unistr/u8-cpy uninorm/u8-normalize -stdbool +stdbool-h configure.ac: diff --git a/modules/unicase/u8-ct-totitle b/modules/unicase/u8-ct-totitle index b2d9969a77..5fec28184d 100644 --- a/modules/unicase/u8-ct-totitle +++ b/modules/unicase/u8-ct-totitle @@ -20,7 +20,7 @@ unistr/u8-mbtouc-unsafe unistr/u8-uctomb unistr/u8-cpy uninorm/u8-normalize -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_MODULE([1.3], [unicase/u8-ct-totitle]) diff --git a/modules/unicase/u8-is-invariant b/modules/unicase/u8-is-invariant index 0a8759bb83..6cdd4639f2 100644 --- a/modules/unicase/u8-is-invariant +++ b/modules/unicase/u8-is-invariant @@ -12,7 +12,7 @@ uninorm/base uninorm/u8-normalize uninorm/nfd unistr/u8-cmp -stdbool +stdbool-h configure.ac: diff --git a/modules/uniconv/base b/modules/uniconv/base index 5d0560895a..a2038a6a7b 100644 --- a/modules/uniconv/base +++ b/modules/uniconv/base @@ -10,7 +10,7 @@ m4/libunistring-base.m4 Depends-on: gen-header -stdbool +stdbool-h unitypes configure.ac: diff --git a/modules/unictype/base b/modules/unictype/base index 26abd2265e..a060ab392a 100644 --- a/modules/unictype/base +++ b/modules/unictype/base @@ -9,7 +9,7 @@ m4/unictype_h.m4 Depends-on: gen-header unitypes -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_LIBHEADER([1.3], [unictype.h]) diff --git a/modules/unictype/category-byname-tests b/modules/unictype/category-byname-tests index dac2f3f4e9..d3b8334a83 100644 --- a/modules/unictype/category-byname-tests +++ b/modules/unictype/category-byname-tests @@ -3,7 +3,7 @@ tests/unictype/test-categ_byname.c tests/macros.h Depends-on: -stdbool +stdbool-h unictype/category-test configure.ac: diff --git a/modules/unigbrk/base b/modules/unigbrk/base index 0f67a23398..30dff8f04b 100644 --- a/modules/unigbrk/base +++ b/modules/unigbrk/base @@ -8,7 +8,7 @@ m4/libunistring-base.m4 Depends-on: gen-header unitypes -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_LIBHEADER([1.2], [unigbrk.h]) diff --git a/modules/unigbrk/u16-grapheme-breaks b/modules/unigbrk/u16-grapheme-breaks index 771a9c7d92..bb9140145e 100644 --- a/modules/unigbrk/u16-grapheme-breaks +++ b/modules/unigbrk/u16-grapheme-breaks @@ -11,7 +11,7 @@ unigbrk/uc-gbrk-prop unictype/incb-of unictype/property-extended-pictographic unistr/u16-mbtouc -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([unigbrk/u16-grapheme-breaks]) diff --git a/modules/unigbrk/u32-grapheme-breaks b/modules/unigbrk/u32-grapheme-breaks index c16e32c477..18d546b79f 100644 --- a/modules/unigbrk/u32-grapheme-breaks +++ b/modules/unigbrk/u32-grapheme-breaks @@ -11,7 +11,7 @@ unigbrk/uc-gbrk-prop unictype/incb-of unictype/property-extended-pictographic unistr/u32-mbtouc -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([unigbrk/u32-grapheme-breaks]) diff --git a/modules/unigbrk/u8-grapheme-breaks b/modules/unigbrk/u8-grapheme-breaks index f2004246c3..5224efa09e 100644 --- a/modules/unigbrk/u8-grapheme-breaks +++ b/modules/unigbrk/u8-grapheme-breaks @@ -11,7 +11,7 @@ unigbrk/uc-gbrk-prop unictype/incb-of unictype/property-extended-pictographic unistr/u8-mbtouc -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([unigbrk/u8-grapheme-breaks]) diff --git a/modules/unigbrk/uc-grapheme-breaks b/modules/unigbrk/uc-grapheme-breaks index a5e2ecd37a..d1010371c4 100644 --- a/modules/unigbrk/uc-grapheme-breaks +++ b/modules/unigbrk/uc-grapheme-breaks @@ -10,7 +10,7 @@ unigbrk/base unigbrk/uc-gbrk-prop unictype/incb-of unictype/property-extended-pictographic -stdbool +stdbool-h configure.ac: gl_MODULE_INDICATOR([unigbrk/uc-grapheme-breaks]) diff --git a/modules/unigbrk/uc-is-grapheme-break-tests b/modules/unigbrk/uc-is-grapheme-break-tests index e40b48ea0e..94aa21de30 100644 --- a/modules/unigbrk/uc-is-grapheme-break-tests +++ b/modules/unigbrk/uc-is-grapheme-break-tests @@ -6,7 +6,7 @@ tests/unigbrk/GraphemeBreakTest.txt Depends-on: unictype/incb-of unictype/property-extended-pictographic -stdbool +stdbool-h configure.ac: diff --git a/modules/unilbrk/base b/modules/unilbrk/base index af037838a7..94b4471919 100644 --- a/modules/unilbrk/base +++ b/modules/unilbrk/base @@ -9,7 +9,7 @@ Depends-on: gen-header unitypes localcharset -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_LIBHEADER([0.9.11], [unilbrk.h]) diff --git a/modules/uniname/uniname b/modules/uniname/uniname index 63d14f85bc..158a8dc52f 100644 --- a/modules/uniname/uniname +++ b/modules/uniname/uniname @@ -10,7 +10,7 @@ Depends-on: uniname/base attribute memcmp -stdbool +stdbool-h c99 configure.ac: diff --git a/modules/unistd-safer-tests b/modules/unistd-safer-tests index c1c09dbc91..dc3ed072d6 100644 --- a/modules/unistd-safer-tests +++ b/modules/unistd-safer-tests @@ -10,7 +10,7 @@ dup fd-safer-flag getdtablesize msvc-nothrow -stdbool +stdbool-h configure.ac: diff --git a/modules/unistdio/u8-asnprintf-extra-tests b/modules/unistdio/u8-asnprintf-extra-tests index ac223b2b63..a4fea954b1 100644 --- a/modules/unistdio/u8-asnprintf-extra-tests +++ b/modules/unistdio/u8-asnprintf-extra-tests @@ -6,7 +6,7 @@ tests/unistdio/test-u8-asnprintf-big.c tests/macros.h Depends-on: -stdbool +stdbool-h stdint physmem unistr/u8-strlen diff --git a/modules/unistdio/ulc-asnprintf-extra-tests b/modules/unistdio/ulc-asnprintf-extra-tests index 4d3c1cd0c4..62fc701e0e 100644 --- a/modules/unistdio/ulc-asnprintf-extra-tests +++ b/modules/unistdio/ulc-asnprintf-extra-tests @@ -6,7 +6,7 @@ tests/unistdio/test-ulc-asnprintf-big.c tests/macros.h Depends-on: -stdbool +stdbool-h stdint physmem diff --git a/modules/unistr/base b/modules/unistr/base index 2b28dbdc36..6aa25b14f7 100644 --- a/modules/unistr/base +++ b/modules/unistr/base @@ -8,7 +8,7 @@ m4/libunistring-base.m4 Depends-on: gen-header unitypes -stdbool +stdbool-h inline configure.ac: diff --git a/modules/unistr/u16-strstr b/modules/unistr/u16-strstr index 1ad2e4eec3..fc96847b4c 100644 --- a/modules/unistr/u16-strstr +++ b/modules/unistr/u16-strstr @@ -11,7 +11,7 @@ unistr/base unistr/u16-chr unistr/u16-strchr unistr/u16-cmp -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u16-strstr]) diff --git a/modules/unistr/u32-strstr b/modules/unistr/u32-strstr index 64d95434b1..9fc6e039f8 100644 --- a/modules/unistr/u32-strstr +++ b/modules/unistr/u32-strstr @@ -11,7 +11,7 @@ unistr/base unistr/u32-chr unistr/u32-strchr unistr/u32-cmp -stdbool +stdbool-h configure.ac: gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u32-strstr]) diff --git a/modules/unlink-tests b/modules/unlink-tests index 6a57d49930..1810b7dd2c 100644 --- a/modules/unlink-tests +++ b/modules/unlink-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -stdbool +stdbool-h symlink unlinkdir diff --git a/modules/unlinkdir b/modules/unlinkdir index 6ebd027122..a9d96983d3 100644 --- a/modules/unlinkdir +++ b/modules/unlinkdir @@ -7,7 +7,7 @@ lib/unlinkdir.c m4/unlinkdir.m4 Depends-on: -stdbool +stdbool-h priv-set root-uid diff --git a/modules/userspec b/modules/userspec index eff67dfb89..65431b1a29 100644 --- a/modules/userspec +++ b/modules/userspec @@ -15,7 +15,7 @@ gettext-h gnulib-i18n intprops inttostr -stdbool +stdbool-h configure.ac: gl_USERSPEC diff --git a/modules/utime b/modules/utime index 319b5281e7..933e609412 100644 --- a/modules/utime +++ b/modules/utime @@ -11,7 +11,7 @@ time-h filename [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] malloca [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] stat [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] -stdbool [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] +stdbool-h [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] configure.ac: gl_FUNC_UTIME diff --git a/modules/utimecmp b/modules/utimecmp index 7dd9548a27..f60e33ebbd 100644 --- a/modules/utimecmp +++ b/modules/utimecmp @@ -14,7 +14,7 @@ stat-time time-h utimensat intprops -stdbool +stdbool-h stdint assert-h diff --git a/modules/utimens b/modules/utimens index 10e1c848f2..77e90ff09e 100644 --- a/modules/utimens +++ b/modules/utimens @@ -17,7 +17,7 @@ gettime msvc-nothrow stat stat-time -stdbool +stdbool-h sys_stat sys_time time-h diff --git a/modules/vasnprintf-extra-tests b/modules/vasnprintf-extra-tests index b86c8a05d4..d4bf2ec60e 100644 --- a/modules/vasnprintf-extra-tests +++ b/modules/vasnprintf-extra-tests @@ -6,7 +6,7 @@ tests/test-vasnprintf-big.c tests/macros.h Depends-on: -stdbool +stdbool-h stdint physmem diff --git a/modules/vasnwprintf-extra-tests b/modules/vasnwprintf-extra-tests index 325bc8fa98..20bc095444 100644 --- a/modules/vasnwprintf-extra-tests +++ b/modules/vasnwprintf-extra-tests @@ -6,7 +6,7 @@ tests/test-vasnwprintf-big.c tests/macros.h Depends-on: -stdbool +stdbool-h stdint physmem diff --git a/modules/wait-process b/modules/wait-process index 7c5af55f2e..dafd71015f 100644 --- a/modules/wait-process +++ b/modules/wait-process @@ -14,7 +14,7 @@ xalloc xalloc-die gettext-h gnulib-i18n -stdbool +stdbool-h stdlib sys_wait unistd diff --git a/modules/windows-cond b/modules/windows-cond index a765c7e9b0..b739c442f6 100644 --- a/modules/windows-cond +++ b/modules/windows-cond @@ -7,7 +7,7 @@ lib/windows-cond.c lib/windows-initguard.h Depends-on: -stdbool +stdbool-h errno-h time-h gettimeofday diff --git a/modules/windows-spawn b/modules/windows-spawn index 29b89ec244..856606614c 100644 --- a/modules/windows-spawn +++ b/modules/windows-spawn @@ -11,7 +11,7 @@ Depends-on: environ findprog-in msvc-nothrow -stdbool +stdbool-h stdint stdlib strpbrk diff --git a/modules/windows-timedrwlock b/modules/windows-timedrwlock index e1a6b77377..6ef6baf98d 100644 --- a/modules/windows-timedrwlock +++ b/modules/windows-timedrwlock @@ -8,7 +8,7 @@ lib/windows-initguard.h Depends-on: errno-h -stdbool +stdbool-h time-h gettimeofday diff --git a/modules/write-any-file b/modules/write-any-file index 7e99265c09..31e8fe8d72 100644 --- a/modules/write-any-file +++ b/modules/write-any-file @@ -7,7 +7,7 @@ lib/write-any-file.c m4/write-any-file.m4 Depends-on: -stdbool +stdbool-h priv-set root-uid diff --git a/modules/xbinary-io b/modules/xbinary-io index e322ac4020..965ce3aaa9 100644 --- a/modules/xbinary-io +++ b/modules/xbinary-io @@ -12,7 +12,7 @@ exitfail extern-inline gettext-h gnulib-i18n -stdbool +stdbool-h verify configure.ac: diff --git a/modules/xlist b/modules/xlist index e258161b10..7d740f6e54 100644 --- a/modules/xlist +++ b/modules/xlist @@ -8,7 +8,7 @@ lib/gl_xlist.c Depends-on: list extern-inline -stdbool +stdbool-h xalloc-die configure.ac: diff --git a/modules/xmap b/modules/xmap index 2a7ceade73..60d1e4b440 100644 --- a/modules/xmap +++ b/modules/xmap @@ -8,7 +8,7 @@ lib/gl_xmap.c Depends-on: map extern-inline -stdbool +stdbool-h xalloc-die configure.ac: diff --git a/modules/xomap b/modules/xomap index 196717de1b..7294dd146d 100644 --- a/modules/xomap +++ b/modules/xomap @@ -8,7 +8,7 @@ lib/gl_xomap.c Depends-on: omap extern-inline -stdbool +stdbool-h xalloc-die configure.ac: diff --git a/modules/xoset b/modules/xoset index 1bfc2ba624..506c0d1c7d 100644 --- a/modules/xoset +++ b/modules/xoset @@ -8,7 +8,7 @@ lib/gl_xoset.c Depends-on: oset extern-inline -stdbool +stdbool-h xalloc-die configure.ac: diff --git a/modules/xset b/modules/xset index d78d5fc601..93419414e5 100644 --- a/modules/xset +++ b/modules/xset @@ -8,7 +8,7 @@ lib/gl_xset.c Depends-on: set extern-inline -stdbool +stdbool-h xalloc-die configure.ac: diff --git a/modules/xstrtod b/modules/xstrtod index 6163365347..2e3efc4fd7 100644 --- a/modules/xstrtod +++ b/modules/xstrtod @@ -7,7 +7,7 @@ lib/xstrtod.c m4/xstrtod.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_XSTRTOD diff --git a/modules/xstrtold b/modules/xstrtold index f3c95d013d..f138367af2 100644 --- a/modules/xstrtold +++ b/modules/xstrtold @@ -8,7 +8,7 @@ lib/xstrtold.c m4/xstrtod.m4 Depends-on: -stdbool +stdbool-h configure.ac: gl_XSTRTOLD diff --git a/modules/yesno b/modules/yesno index 28e6ea17a6..a904f80d92 100644 --- a/modules/yesno +++ b/modules/yesno @@ -10,7 +10,7 @@ m4/yesno.m4 Depends-on: getline rpmatch -stdbool +stdbool-h configure.ac: gl_YESNO diff --git a/tests/test-stdbool-c++.cc b/tests/test-stdbool-c++.cc deleted file mode 100644 index 6e782a0a29..0000000000 --- a/tests/test-stdbool-c++.cc +++ /dev/null @@ -1,47 +0,0 @@ -/* Test of substitute in C++ mode. - Copyright (C) 2019-2024 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -/* Written by Bruno Haible , 2019. */ - -#define GNULIB_NAMESPACE gnulib -#include - -#ifdef TEST_STDBOOL_H -# include -#endif - - -/* These tests are a subset of the C language tests in test-stdbool.c. */ - -#if false - "error: false is not 0" -#endif -#if true != 1 - "error: true is not 1" -#endif - -struct s { bool u: 1; bool v; } s; - -char a[true == 1 ? 1 : -1]; -char b[false == 0 ? 1 : -1]; -char c[(unsigned char) true == 1 ? 1 : -1]; -char d[(unsigned char) false == 0 ? 1 : -1]; - - -int -main () -{ -} diff --git a/tests/test-stdbool-c++2.cc b/tests/test-stdbool-c++2.cc deleted file mode 100644 index 2e60f72749..0000000000 --- a/tests/test-stdbool-c++2.cc +++ /dev/null @@ -1,24 +0,0 @@ -/* Test of substitute in C++ mode. - Copyright (C) 2019-2024 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#define GNULIB_NAMESPACE gnulib -#include - -#if __cplusplus >= 201103 && __cplusplus < 202002 - -# include - -#endif diff --git a/tests/test-stdbool-h-c++.cc b/tests/test-stdbool-h-c++.cc new file mode 100644 index 0000000000..6e782a0a29 --- /dev/null +++ b/tests/test-stdbool-h-c++.cc @@ -0,0 +1,47 @@ +/* Test of substitute in C++ mode. + Copyright (C) 2019-2024 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Bruno Haible , 2019. */ + +#define GNULIB_NAMESPACE gnulib +#include + +#ifdef TEST_STDBOOL_H +# include +#endif + + +/* These tests are a subset of the C language tests in test-stdbool.c. */ + +#if false + "error: false is not 0" +#endif +#if true != 1 + "error: true is not 1" +#endif + +struct s { bool u: 1; bool v; } s; + +char a[true == 1 ? 1 : -1]; +char b[false == 0 ? 1 : -1]; +char c[(unsigned char) true == 1 ? 1 : -1]; +char d[(unsigned char) false == 0 ? 1 : -1]; + + +int +main () +{ +} diff --git a/tests/test-stdbool-h-c++2.cc b/tests/test-stdbool-h-c++2.cc new file mode 100644 index 0000000000..2e60f72749 --- /dev/null +++ b/tests/test-stdbool-h-c++2.cc @@ -0,0 +1,24 @@ +/* Test of substitute in C++ mode. + Copyright (C) 2019-2024 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#define GNULIB_NAMESPACE gnulib +#include + +#if __cplusplus >= 201103 && __cplusplus < 202002 + +# include + +#endif diff --git a/tests/test-stdbool-h-c99-c++.cc b/tests/test-stdbool-h-c99-c++.cc index eec9e3b980..ffab4db477 100644 --- a/tests/test-stdbool-h-c99-c++.cc +++ b/tests/test-stdbool-h-c99-c++.cc @@ -1,2 +1,2 @@ #define TEST_STDBOOL_H -#include "test-stdbool-c++.cc" +#include "test-stdbool-h-c++.cc" diff --git a/tests/test-stdbool-h-c99.c b/tests/test-stdbool-h-c99.c index 350c4a05a9..dfe73c65a2 100644 --- a/tests/test-stdbool-h-c99.c +++ b/tests/test-stdbool-h-c99.c @@ -1,2 +1,2 @@ #define TEST_STDBOOL_H -#include "test-stdbool.c" +#include "test-stdbool-h.c" diff --git a/tests/test-stdbool-h.c b/tests/test-stdbool-h.c new file mode 100644 index 0000000000..9322b500b6 --- /dev/null +++ b/tests/test-stdbool-h.c @@ -0,0 +1,119 @@ +/* Test bool. + Copyright (C) 2002-2007, 2009-2024 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Bruno Haible , 2007. */ + +/* Define ADDRESS_CHECK_OKAY if it is OK to assign an address to a 'bool' + and this does not generate a warning (because we want this test to succeed + even when using gcc's -Werror). */ +#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) \ + || (__clang_major__ >= 4) +/* We can silence the warning. */ +# pragma GCC diagnostic ignored "-Waddress" +# define ADDRESS_CHECK_OKAY +#elif defined __GNUC__ || defined __clang__ +/* There may be a warning. */ +#else +/* Ignore warnings from other compilers. */ +# define ADDRESS_CHECK_OKAY +#endif + +#include + +#ifdef TEST_STDBOOL_H +# include +#endif + +#if false + "error: false is not 0" +#endif +#if true != 1 + "error: true is not 1" +#endif + +/* Several tests cannot be guaranteed with gnulib's , at + least, not for all compilers and compiler options. */ +#if ((HAVE_C_BOOL || defined __cplusplus \ + || HAVE_STDBOOL_H || 3 <= __GNUC__ || 4 <= __clang_major__) \ + && !(defined _MSC_VER || defined __SUNPRO_C)) +# define WORKING_BOOL 1 +#else +# define WORKING_BOOL 0 +#endif + +#if WORKING_BOOL +struct s { bool s: 1; bool t; } s; +#endif + +char a[true == 1 ? 1 : -1]; +char b[false == 0 ? 1 : -1]; +#if WORKING_BOOL +char d[(bool) 0.5 == true ? 1 : -1]; +# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ +/* C99 may plausibly be interpreted as not requiring support for a cast from + a variable's address to bool in a static initializer. So treat it like a + GCC extension. */ +# if defined __GNUC__ || defined __clang__ +bool e = &s; +# endif +# endif +char f[(bool) 0.0 == false ? 1 : -1]; +#endif +char g[true]; +char h[sizeof (bool)]; +#if WORKING_BOOL +char i[sizeof s.t]; +#endif +enum { j = false, k = true, l = false * true, m = true * 256 }; +bool n[m]; +char o[sizeof n == m * sizeof n[0] ? 1 : -1]; +char p[-1 - (bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; +/* Catch a bug in an HP-UX C compiler. See + https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html + */ +bool q = true; +bool *pq = &q; + +int +main () +{ + int error = 0; + +#if WORKING_BOOL +# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ + /* A cast from a variable's address to bool is valid in expressions. */ + { + bool e1 = &s; + if (!e1) + error = 1; + } +# endif +#endif + + /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 + reported by James Lemley on 2005-10-05; see + https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html + This is a runtime test, since a corresponding compile-time + test would rely on initializer extensions. */ + { + char digs[] = "0123456789"; + if (&(digs + 5)[-2 + (bool) 1] != &digs[4]) + error = 1; + } + + return error; +} diff --git a/tests/test-stdbool.c b/tests/test-stdbool.c deleted file mode 100644 index 9322b500b6..0000000000 --- a/tests/test-stdbool.c +++ /dev/null @@ -1,119 +0,0 @@ -/* Test bool. - Copyright (C) 2002-2007, 2009-2024 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -/* Written by Bruno Haible , 2007. */ - -/* Define ADDRESS_CHECK_OKAY if it is OK to assign an address to a 'bool' - and this does not generate a warning (because we want this test to succeed - even when using gcc's -Werror). */ -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) \ - || (__clang_major__ >= 4) -/* We can silence the warning. */ -# pragma GCC diagnostic ignored "-Waddress" -# define ADDRESS_CHECK_OKAY -#elif defined __GNUC__ || defined __clang__ -/* There may be a warning. */ -#else -/* Ignore warnings from other compilers. */ -# define ADDRESS_CHECK_OKAY -#endif - -#include - -#ifdef TEST_STDBOOL_H -# include -#endif - -#if false - "error: false is not 0" -#endif -#if true != 1 - "error: true is not 1" -#endif - -/* Several tests cannot be guaranteed with gnulib's , at - least, not for all compilers and compiler options. */ -#if ((HAVE_C_BOOL || defined __cplusplus \ - || HAVE_STDBOOL_H || 3 <= __GNUC__ || 4 <= __clang_major__) \ - && !(defined _MSC_VER || defined __SUNPRO_C)) -# define WORKING_BOOL 1 -#else -# define WORKING_BOOL 0 -#endif - -#if WORKING_BOOL -struct s { bool s: 1; bool t; } s; -#endif - -char a[true == 1 ? 1 : -1]; -char b[false == 0 ? 1 : -1]; -#if WORKING_BOOL -char d[(bool) 0.5 == true ? 1 : -1]; -# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ -/* C99 may plausibly be interpreted as not requiring support for a cast from - a variable's address to bool in a static initializer. So treat it like a - GCC extension. */ -# if defined __GNUC__ || defined __clang__ -bool e = &s; -# endif -# endif -char f[(bool) 0.0 == false ? 1 : -1]; -#endif -char g[true]; -char h[sizeof (bool)]; -#if WORKING_BOOL -char i[sizeof s.t]; -#endif -enum { j = false, k = true, l = false * true, m = true * 256 }; -bool n[m]; -char o[sizeof n == m * sizeof n[0] ? 1 : -1]; -char p[-1 - (bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; -/* Catch a bug in an HP-UX C compiler. See - https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html - https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html - */ -bool q = true; -bool *pq = &q; - -int -main () -{ - int error = 0; - -#if WORKING_BOOL -# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ - /* A cast from a variable's address to bool is valid in expressions. */ - { - bool e1 = &s; - if (!e1) - error = 1; - } -# endif -#endif - - /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 - reported by James Lemley on 2005-10-05; see - https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html - This is a runtime test, since a corresponding compile-time - test would rely on initializer extensions. */ - { - char digs[] = "0123456789"; - if (&(digs + 5)[-2 + (bool) 1] != &digs[4]) - error = 1; - } - - return error; -}