Depend on 'bool' for use of 'false' or 'true'

Bruno Haible via Gnulib discussion list <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <3494934.VnKG3xVv5R@cagnes>
Code that uses 'false' or 'true' needs the 'bool' module, for the sake of
platforms which only have a C99 or C11 compiler. While many modules do this,
some lack it. This set of patches adds the necessary dependencies.

Found through
$ ./gnulib-tool --find $( { fgrep -rlw true lib; fgrep -rlw false lib; }| sort -u ) | LC_ALL=C sort -u > /tmp/1
$ for m in `cat /tmp/1`; do if grep '^bool' modules/$m > /dev/null ; then :; else echo $m; fi; done > /tmp/2
$ for m in `cat /tmp/2`; do echo; echo $m; fgrep -n false `./gnulib-tool --extract-file $m | grep ^lib/` /dev/null; fgrep -n true `./gnulib-tool --extract-file $m | grep ^lib/` /dev/null ;  done > /tmp/3
and manual review of /tmp/3.


2026-08-17  Bruno Haible  <[email protected]>

	Depend on 'bool' for use of 'false' or 'true'.
	* modules/array-list (Depends-on): Add bool.
	* modules/array-map (Depends-on): Likewise.
	* modules/array-omap (Depends-on): Likewise.
	* modules/array-oset (Depends-on): Likewise.
	* modules/array-set (Depends-on): Likewise.
	* modules/avltree-list (Depends-on): Likewise.
	* modules/avltree-omap (Depends-on): Likewise.
	* modules/avltree-oset (Depends-on): Likewise.
	* modules/avltreehash-list (Depends-on): Likewise.
	* modules/carray-list (Depends-on): Likewise.
	* modules/copy-file (Depends-on): Likewise.
	* modules/crc (Depends-on): Likewise.
	* modules/cygpath (Depends-on): Likewise.
	* modules/file-remote (Depends-on): Likewise.
	* modules/fprintftime (Depends-on): Likewise.
	* modules/fstrcmp (Depends-on): Likewise.
	* modules/getpass-gnu (Depends-on): Likewise.
	* modules/getumask (Depends-on): Likewise.
	* modules/hash-map (Depends-on): Likewise.
	* modules/hash-set (Depends-on): Likewise.
	* modules/kwset (Depends-on): Likewise.
	* modules/linked-list (Depends-on): Likewise.
	* modules/linkedhash-list (Depends-on): Likewise.
	* modules/linkedhash-map (Depends-on): Likewise.
	* modules/linkedhash-set (Depends-on): Likewise.
	* modules/mbscasecmp (Depends-on): Likewise.
	* modules/mbsncasecmp (Depends-on): Likewise.
	* modules/mkancesdirs (Depends-on): Likewise.
	* modules/mktime-internal (Depends-on): Likewise.
	* modules/newlocale (Depends-on): Likewise.
	* modules/open (Depends-on): Likewise.
	* modules/openat2 (Depends-on): Likewise.
	* modules/options (Depends-on): Likewise.
	* modules/passfd (Depends-on): Likewise.
	* modules/pipe2 (Depends-on): Likewise.
	* modules/rbtree-list (Depends-on): Likewise.
	* modules/rbtree-omap (Depends-on): Likewise.
	* modules/rbtree-oset (Depends-on): Likewise.
	* modules/rbtreehash-list (Depends-on): Likewise.
	* modules/setlocale-fixes (Depends-on): Likewise.
	* modules/spin (Depends-on): Likewise.
	* modules/strstr (Depends-on): Likewise.
	* modules/sublist (Depends-on): Likewise.
	* modules/timegm (Depends-on): Likewise.
	* modules/unicase/u8-is-cased (Depends-on): Likewise.
	* modules/unicase/u16-is-cased (Depends-on): Likewise.
	* modules/unicase/u32-is-cased (Depends-on): Likewise.
	* modules/uniconv/u8-conv-from-enc (Depends-on): Likewise.
	* modules/uniconv/u16-conv-from-enc (Depends-on): Likewise.
	* modules/uniconv/u32-conv-from-enc (Depends-on): Likewise.
	* modules/unictype/block-test (Depends-on): Likewise.
	* modules/unictype/category-none (Depends-on): Likewise.
	* modules/unictype/category-of (Depends-on): Likewise.
	* modules/unictype/mirror (Depends-on): Likewise.
	* modules/unigbrk/uc-is-grapheme-break (Depends-on): Likewise.
	* modules/unilbrk/u8-possible-linebreaks (Depends-on): Likewise.
	* modules/unilbrk/u16-possible-linebreaks (Depends-on): Likewise.
	* modules/unilbrk/u32-possible-linebreaks (Depends-on): Likewise.
	* modules/unistr/u8-endswith (Depends-on): Likewise.
	* modules/unistr/u8-startswith (Depends-on): Likewise.
	* modules/unistr/u8-strchr (Depends-on): Likewise.
	* modules/unistr/u16-endswith (Depends-on): Likewise.
	* modules/unistr/u16-startswith (Depends-on): Likewise.
	* modules/unistr/u32-endswith (Depends-on): Likewise.
	* modules/unistr/u32-startswith (Depends-on): Likewise.
	* modules/wcsstr (Depends-on): Likewise.
	* modules/wcsstr-simple (Depends-on): Likewise.
	* modules/windows-cygpath (Depends-on): Likewise.

	tests: Depend on 'bool' for use of 'false' or 'true'.
	* modules/array-list-tests (Depends-on): Add bool.
	* modules/array-map-tests (Depends-on): Likewise.
	* modules/array-omap-tests (Depends-on): Likewise.
	* modules/array-oset-tests (Depends-on): Likewise.
	* modules/asyncsafe-spin-tests (Depends-on): Likewise.
	* modules/avltree-list-tests (Depends-on): Likewise.
	* modules/avltreehash-list-tests (Depends-on): Likewise.
	* modules/bitset-tests (Depends-on): Likewise.
	* modules/canonicalize-lgpl-tests (Depends-on): Likewise.
	* modules/canonicalize-tests (Depends-on): Likewise.
	* modules/carray-list-tests (Depends-on): Likewise.
	* modules/cloexec-tests (Depends-on): Likewise.
	* modules/cnd-tests (Depends-on): Likewise.
	* modules/cond-tests (Depends-on): Likewise.
	* modules/dirname-tests (Depends-on): Likewise.
	* modules/explicit_bzero-tests (Depends-on): Likewise.
	* modules/fchownat-tests (Depends-on): Likewise.
	* modules/fdutimensat-tests (Depends-on): Likewise.
	* modules/fstatat-tests (Depends-on): Likewise.
	* modules/futimens-tests (Depends-on): Likewise.
	* modules/hamt-tests (Depends-on): Likewise.
	* modules/hard-locale-tests (Depends-on): Likewise.
	* modules/kwset-tests (Depends-on): Likewise.
	* modules/linkat-tests (Depends-on): Likewise.
	* modules/linked-list-tests (Depends-on): Likewise.
	* modules/linked-list-unportable-tests (Depends-on): Likewise.
	* modules/linkedhash-list-tests (Depends-on): Likewise.
	* modules/mbs_endswith-tests (Depends-on): Likewise.
	* modules/mbs_startswith-tests (Depends-on): Likewise.
	* modules/mbscasecmp-tests (Depends-on): Likewise.
	* modules/mbsncasecmp-tests (Depends-on): Likewise.
	* modules/mbspcasecmp-tests (Depends-on): Likewise.
	* modules/mcel-bench-tests (Depends-on): Likewise.
	* modules/memset_explicit-tests (Depends-on): Likewise.
	* modules/mkdirat-tests (Depends-on): Likewise.
	* modules/mkfifoat-tests (Depends-on): Likewise.
	* modules/mountlist-tests (Depends-on): Likewise.
	* modules/nonblocking-tests (Depends-on): Likewise.
	* modules/obstack-zprintf-extra-tests (Depends-on): Likewise.
	* modules/openat-tests (Depends-on): Likewise.
	* modules/openat2-tests (Depends-on): Likewise.
	* modules/pipe-filter-gi-tests (Depends-on): Likewise.
	* modules/pipe-filter-ii-tests (Depends-on): Likewise.
	* modules/posix_spawn_file_actions_addchdir-tests (Depends-on):
	Likewise.
	* modules/printf-posix-tests (Depends-on): Likewise.
	* modules/pthread-cond-tests (Depends-on): Likewise.
	* modules/pthread_sigmask-tests (Depends-on): Likewise.
	* modules/quotearg-tests (Depends-on): Likewise.
	* modules/rbtree-list-tests (Depends-on): Likewise.
	* modules/rbtreehash-list-tests (Depends-on): Likewise.
	* modules/readlinkat-tests (Depends-on): Likewise.
	* modules/regex-quote-tests (Depends-on): Likewise.
	* modules/renameat-tests (Depends-on): Likewise.
	* modules/renameatu-tests (Depends-on): Likewise.
	* modules/sigdelay-tests (Depends-on): Likewise.
	* modules/sigprocmask-tests (Depends-on): Likewise.
	* modules/stat-time-tests (Depends-on): Likewise.
	* modules/stdc_rotate_left-tests (Depends-on): Likewise.
	* modules/stdc_rotate_right-tests (Depends-on): Likewise.
	* modules/striconveha-tests (Depends-on): Likewise.
	* modules/supersede-tests (Depends-on): Likewise.
	* modules/symlinkat-tests (Depends-on): Likewise.
	* modules/unicase/u8-is-cased-tests (Depends-on): Likewise.
	* modules/unicase/u8-is-casefolded-tests (Depends-on): Likewise.
	* modules/unicase/u8-is-lowercase-tests (Depends-on): Likewise.
	* modules/unicase/u8-is-titlecase-tests (Depends-on): Likewise.
	* modules/unicase/u8-is-uppercase-tests (Depends-on): Likewise.
	* modules/unicase/u16-is-cased-tests (Depends-on): Likewise.
	* modules/unicase/u16-is-casefolded-tests (Depends-on): Likewise.
	* modules/unicase/u16-is-lowercase-tests (Depends-on): Likewise.
	* modules/unicase/u16-is-titlecase-tests (Depends-on): Likewise.
	* modules/unicase/u16-is-uppercase-tests (Depends-on): Likewise.
	* modules/unicase/u32-is-cased-tests (Depends-on): Likewise.
	* modules/unicase/u32-is-casefolded-tests (Depends-on): Likewise.
	* modules/unicase/u32-is-lowercase-tests (Depends-on): Likewise.
	* modules/unicase/u32-is-titlecase-tests (Depends-on): Likewise.
	* modules/unicase/u32-is-uppercase-tests (Depends-on): Likewise.
	* modules/unictype/scripts-tests (Depends-on): Likewise.
	* modules/unlinkat-tests (Depends-on): Likewise.
	* modules/userspec-tests (Depends-on): Likewise.
	* modules/utime-tests (Depends-on): Likewise.
	* modules/utimens-tests (Depends-on): Likewise.
	* modules/utimensat-tests (Depends-on): Likewise.
0001-tests-Depend-on-bool-for-use-of-false-or-true.patch (text/x-patch, 35.7 KB)
From 2a4f56f67f3065fbfe161aae48f8590aa247cf15 Mon Sep 17 00:00:00 2001
From: Bruno Haible <[email protected]>
Date: Mon, 17 Aug 2026 16:12:22 +0200
Subject: [PATCH 1/2] tests: Depend on 'bool' for use of 'false' or 'true'.

* modules/array-list-tests (Depends-on): Add bool.
* modules/array-map-tests (Depends-on): Likewise.
* modules/array-omap-tests (Depends-on): Likewise.
* modules/array-oset-tests (Depends-on): Likewise.
* modules/asyncsafe-spin-tests (Depends-on): Likewise.
* modules/avltree-list-tests (Depends-on): Likewise.
* modules/avltreehash-list-tests (Depends-on): Likewise.
* modules/bitset-tests (Depends-on): Likewise.
* modules/canonicalize-lgpl-tests (Depends-on): Likewise.
* modules/canonicalize-tests (Depends-on): Likewise.
* modules/carray-list-tests (Depends-on): Likewise.
* modules/cloexec-tests (Depends-on): Likewise.
* modules/cnd-tests (Depends-on): Likewise.
* modules/cond-tests (Depends-on): Likewise.
* modules/dirname-tests (Depends-on): Likewise.
* modules/explicit_bzero-tests (Depends-on): Likewise.
* modules/fchownat-tests (Depends-on): Likewise.
* modules/fdutimensat-tests (Depends-on): Likewise.
* modules/fstatat-tests (Depends-on): Likewise.
* modules/futimens-tests (Depends-on): Likewise.
* modules/hamt-tests (Depends-on): Likewise.
* modules/hard-locale-tests (Depends-on): Likewise.
* modules/kwset-tests (Depends-on): Likewise.
* modules/linkat-tests (Depends-on): Likewise.
* modules/linked-list-tests (Depends-on): Likewise.
* modules/linked-list-unportable-tests (Depends-on): Likewise.
* modules/linkedhash-list-tests (Depends-on): Likewise.
* modules/mbs_endswith-tests (Depends-on): Likewise.
* modules/mbs_startswith-tests (Depends-on): Likewise.
* modules/mbscasecmp-tests (Depends-on): Likewise.
* modules/mbsncasecmp-tests (Depends-on): Likewise.
* modules/mbspcasecmp-tests (Depends-on): Likewise.
* modules/mcel-bench-tests (Depends-on): Likewise.
* modules/memset_explicit-tests (Depends-on): Likewise.
* modules/mkdirat-tests (Depends-on): Likewise.
* modules/mkfifoat-tests (Depends-on): Likewise.
* modules/mountlist-tests (Depends-on): Likewise.
* modules/nonblocking-tests (Depends-on): Likewise.
* modules/obstack-zprintf-extra-tests (Depends-on): Likewise.
* modules/openat-tests (Depends-on): Likewise.
* modules/openat2-tests (Depends-on): Likewise.
* modules/pipe-filter-gi-tests (Depends-on): Likewise.
* modules/pipe-filter-ii-tests (Depends-on): Likewise.
* modules/posix_spawn_file_actions_addchdir-tests (Depends-on):
Likewise.
* modules/printf-posix-tests (Depends-on): Likewise.
* modules/pthread-cond-tests (Depends-on): Likewise.
* modules/pthread_sigmask-tests (Depends-on): Likewise.
* modules/quotearg-tests (Depends-on): Likewise.
* modules/rbtree-list-tests (Depends-on): Likewise.
* modules/rbtreehash-list-tests (Depends-on): Likewise.
* modules/readlinkat-tests (Depends-on): Likewise.
* modules/regex-quote-tests (Depends-on): Likewise.
* modules/renameat-tests (Depends-on): Likewise.
* modules/renameatu-tests (Depends-on): Likewise.
* modules/sigdelay-tests (Depends-on): Likewise.
* modules/sigprocmask-tests (Depends-on): Likewise.
* modules/stat-time-tests (Depends-on): Likewise.
* modules/stdc_rotate_left-tests (Depends-on): Likewise.
* modules/stdc_rotate_right-tests (Depends-on): Likewise.
* modules/striconveha-tests (Depends-on): Likewise.
* modules/supersede-tests (Depends-on): Likewise.
* modules/symlinkat-tests (Depends-on): Likewise.
* modules/unicase/u8-is-cased-tests (Depends-on): Likewise.
* modules/unicase/u8-is-casefolded-tests (Depends-on): Likewise.
* modules/unicase/u8-is-lowercase-tests (Depends-on): Likewise.
* modules/unicase/u8-is-titlecase-tests (Depends-on): Likewise.
* modules/unicase/u8-is-uppercase-tests (Depends-on): Likewise.
* modules/unicase/u16-is-cased-tests (Depends-on): Likewise.
* modules/unicase/u16-is-casefolded-tests (Depends-on): Likewise.
* modules/unicase/u16-is-lowercase-tests (Depends-on): Likewise.
* modules/unicase/u16-is-titlecase-tests (Depends-on): Likewise.
* modules/unicase/u16-is-uppercase-tests (Depends-on): Likewise.
* modules/unicase/u32-is-cased-tests (Depends-on): Likewise.
* modules/unicase/u32-is-casefolded-tests (Depends-on): Likewise.
* modules/unicase/u32-is-lowercase-tests (Depends-on): Likewise.
* modules/unicase/u32-is-titlecase-tests (Depends-on): Likewise.
* modules/unicase/u32-is-uppercase-tests (Depends-on): Likewise.
* modules/unictype/scripts-tests (Depends-on): Likewise.
* modules/unlinkat-tests (Depends-on): Likewise.
* modules/userspec-tests (Depends-on): Likewise.
* modules/utime-tests (Depends-on): Likewise.
* modules/utimens-tests (Depends-on): Likewise.
* modules/utimensat-tests (Depends-on): Likewise.
---
 ChangeLog                                     | 88 +++++++++++++++++++
 modules/array-list-tests                      |  1 +
 modules/array-map-tests                       |  1 +
 modules/array-omap-tests                      |  1 +
 modules/array-oset-tests                      |  1 +
 modules/asyncsafe-spin-tests                  |  1 +
 modules/avltree-list-tests                    |  1 +
 modules/avltreehash-list-tests                |  1 +
 modules/bitset-tests                          |  1 +
 modules/canonicalize-lgpl-tests               |  1 +
 modules/canonicalize-tests                    |  1 +
 modules/carray-list-tests                     |  1 +
 modules/cloexec-tests                         |  1 +
 modules/cnd-tests                             |  1 +
 modules/cond-tests                            |  1 +
 modules/dirname-tests                         |  1 +
 modules/explicit_bzero-tests                  |  1 +
 modules/fchownat-tests                        |  1 +
 modules/fdutimensat-tests                     |  1 +
 modules/fstatat-tests                         |  1 +
 modules/futimens-tests                        |  1 +
 modules/hamt-tests                            |  1 +
 modules/hard-locale-tests                     |  1 +
 modules/kwset-tests                           |  1 +
 modules/linkat-tests                          |  1 +
 modules/linked-list-tests                     |  1 +
 modules/linked-list-unportable-tests          |  1 +
 modules/linkedhash-list-tests                 |  1 +
 modules/mbs_endswith-tests                    |  1 +
 modules/mbs_startswith-tests                  |  1 +
 modules/mbscasecmp-tests                      |  1 +
 modules/mbsncasecmp-tests                     |  1 +
 modules/mbspcasecmp-tests                     |  1 +
 modules/mcel-bench-tests                      |  1 +
 modules/memset_explicit-tests                 |  1 +
 modules/mkdirat-tests                         |  1 +
 modules/mkfifoat-tests                        |  1 +
 modules/mountlist-tests                       |  1 +
 modules/nonblocking-tests                     |  1 +
 modules/obstack-zprintf-extra-tests           |  1 +
 modules/openat-tests                          |  1 +
 modules/openat2-tests                         |  1 +
 modules/pipe-filter-gi-tests                  |  1 +
 modules/pipe-filter-ii-tests                  |  1 +
 .../posix_spawn_file_actions_addchdir-tests   |  1 +
 modules/printf-posix-tests                    |  1 +
 modules/pthread-cond-tests                    |  1 +
 modules/pthread_sigmask-tests                 |  1 +
 modules/quotearg-tests                        |  1 +
 modules/rbtree-list-tests                     |  1 +
 modules/rbtreehash-list-tests                 |  1 +
 modules/readlinkat-tests                      |  1 +
 modules/regex-quote-tests                     |  1 +
 modules/renameat-tests                        |  1 +
 modules/renameatu-tests                       |  1 +
 modules/sigdelay-tests                        |  1 +
 modules/sigprocmask-tests                     |  1 +
 modules/stat-time-tests                       |  1 +
 modules/stdc_rotate_left-tests                |  1 +
 modules/stdc_rotate_right-tests               |  1 +
 modules/striconveha-tests                     |  1 +
 modules/supersede-tests                       |  1 +
 modules/symlinkat-tests                       |  1 +
 modules/unicase/u16-is-cased-tests            |  1 +
 modules/unicase/u16-is-casefolded-tests       |  1 +
 modules/unicase/u16-is-lowercase-tests        |  1 +
 modules/unicase/u16-is-titlecase-tests        |  1 +
 modules/unicase/u16-is-uppercase-tests        |  1 +
 modules/unicase/u32-is-cased-tests            |  1 +
 modules/unicase/u32-is-casefolded-tests       |  1 +
 modules/unicase/u32-is-lowercase-tests        |  1 +
 modules/unicase/u32-is-titlecase-tests        |  1 +
 modules/unicase/u32-is-uppercase-tests        |  1 +
 modules/unicase/u8-is-cased-tests             |  1 +
 modules/unicase/u8-is-casefolded-tests        |  1 +
 modules/unicase/u8-is-lowercase-tests         |  1 +
 modules/unicase/u8-is-titlecase-tests         |  1 +
 modules/unicase/u8-is-uppercase-tests         |  1 +
 modules/unictype/scripts-tests                |  1 +
 modules/unlinkat-tests                        |  1 +
 modules/userspec-tests                        |  1 +
 modules/utime-tests                           |  1 +
 modules/utimens-tests                         |  1 +
 modules/utimensat-tests                       |  1 +
 84 files changed, 171 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 89895173a0..3e132e5b92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,91 @@
+2026-08-17  Bruno Haible  <[email protected]>
+
+	tests: Depend on 'bool' for use of 'false' or 'true'.
+	* modules/array-list-tests (Depends-on): Add bool.
+	* modules/array-map-tests (Depends-on): Likewise.
+	* modules/array-omap-tests (Depends-on): Likewise.
+	* modules/array-oset-tests (Depends-on): Likewise.
+	* modules/asyncsafe-spin-tests (Depends-on): Likewise.
+	* modules/avltree-list-tests (Depends-on): Likewise.
+	* modules/avltreehash-list-tests (Depends-on): Likewise.
+	* modules/bitset-tests (Depends-on): Likewise.
+	* modules/canonicalize-lgpl-tests (Depends-on): Likewise.
+	* modules/canonicalize-tests (Depends-on): Likewise.
+	* modules/carray-list-tests (Depends-on): Likewise.
+	* modules/cloexec-tests (Depends-on): Likewise.
+	* modules/cnd-tests (Depends-on): Likewise.
+	* modules/cond-tests (Depends-on): Likewise.
+	* modules/dirname-tests (Depends-on): Likewise.
+	* modules/explicit_bzero-tests (Depends-on): Likewise.
+	* modules/fchownat-tests (Depends-on): Likewise.
+	* modules/fdutimensat-tests (Depends-on): Likewise.
+	* modules/fstatat-tests (Depends-on): Likewise.
+	* modules/futimens-tests (Depends-on): Likewise.
+	* modules/hamt-tests (Depends-on): Likewise.
+	* modules/hard-locale-tests (Depends-on): Likewise.
+	* modules/kwset-tests (Depends-on): Likewise.
+	* modules/linkat-tests (Depends-on): Likewise.
+	* modules/linked-list-tests (Depends-on): Likewise.
+	* modules/linked-list-unportable-tests (Depends-on): Likewise.
+	* modules/linkedhash-list-tests (Depends-on): Likewise.
+	* modules/mbs_endswith-tests (Depends-on): Likewise.
+	* modules/mbs_startswith-tests (Depends-on): Likewise.
+	* modules/mbscasecmp-tests (Depends-on): Likewise.
+	* modules/mbsncasecmp-tests (Depends-on): Likewise.
+	* modules/mbspcasecmp-tests (Depends-on): Likewise.
+	* modules/mcel-bench-tests (Depends-on): Likewise.
+	* modules/memset_explicit-tests (Depends-on): Likewise.
+	* modules/mkdirat-tests (Depends-on): Likewise.
+	* modules/mkfifoat-tests (Depends-on): Likewise.
+	* modules/mountlist-tests (Depends-on): Likewise.
+	* modules/nonblocking-tests (Depends-on): Likewise.
+	* modules/obstack-zprintf-extra-tests (Depends-on): Likewise.
+	* modules/openat-tests (Depends-on): Likewise.
+	* modules/openat2-tests (Depends-on): Likewise.
+	* modules/pipe-filter-gi-tests (Depends-on): Likewise.
+	* modules/pipe-filter-ii-tests (Depends-on): Likewise.
+	* modules/posix_spawn_file_actions_addchdir-tests (Depends-on):
+	Likewise.
+	* modules/printf-posix-tests (Depends-on): Likewise.
+	* modules/pthread-cond-tests (Depends-on): Likewise.
+	* modules/pthread_sigmask-tests (Depends-on): Likewise.
+	* modules/quotearg-tests (Depends-on): Likewise.
+	* modules/rbtree-list-tests (Depends-on): Likewise.
+	* modules/rbtreehash-list-tests (Depends-on): Likewise.
+	* modules/readlinkat-tests (Depends-on): Likewise.
+	* modules/regex-quote-tests (Depends-on): Likewise.
+	* modules/renameat-tests (Depends-on): Likewise.
+	* modules/renameatu-tests (Depends-on): Likewise.
+	* modules/sigdelay-tests (Depends-on): Likewise.
+	* modules/sigprocmask-tests (Depends-on): Likewise.
+	* modules/stat-time-tests (Depends-on): Likewise.
+	* modules/stdc_rotate_left-tests (Depends-on): Likewise.
+	* modules/stdc_rotate_right-tests (Depends-on): Likewise.
+	* modules/striconveha-tests (Depends-on): Likewise.
+	* modules/supersede-tests (Depends-on): Likewise.
+	* modules/symlinkat-tests (Depends-on): Likewise.
+	* modules/unicase/u8-is-cased-tests (Depends-on): Likewise.
+	* modules/unicase/u8-is-casefolded-tests (Depends-on): Likewise.
+	* modules/unicase/u8-is-lowercase-tests (Depends-on): Likewise.
+	* modules/unicase/u8-is-titlecase-tests (Depends-on): Likewise.
+	* modules/unicase/u8-is-uppercase-tests (Depends-on): Likewise.
+	* modules/unicase/u16-is-cased-tests (Depends-on): Likewise.
+	* modules/unicase/u16-is-casefolded-tests (Depends-on): Likewise.
+	* modules/unicase/u16-is-lowercase-tests (Depends-on): Likewise.
+	* modules/unicase/u16-is-titlecase-tests (Depends-on): Likewise.
+	* modules/unicase/u16-is-uppercase-tests (Depends-on): Likewise.
+	* modules/unicase/u32-is-cased-tests (Depends-on): Likewise.
+	* modules/unicase/u32-is-casefolded-tests (Depends-on): Likewise.
+	* modules/unicase/u32-is-lowercase-tests (Depends-on): Likewise.
+	* modules/unicase/u32-is-titlecase-tests (Depends-on): Likewise.
+	* modules/unicase/u32-is-uppercase-tests (Depends-on): Likewise.
+	* modules/unictype/scripts-tests (Depends-on): Likewise.
+	* modules/unlinkat-tests (Depends-on): Likewise.
+	* modules/userspec-tests (Depends-on): Likewise.
+	* modules/utime-tests (Depends-on): Likewise.
+	* modules/utimens-tests (Depends-on): Likewise.
+	* modules/utimensat-tests (Depends-on): Likewise.
+
 2026-08-16  Collin Funk  <[email protected]>
 
 	nproc: Don't call fclose twice (regr. today).
diff --git a/modules/array-list-tests b/modules/array-list-tests
index 43a589170f..e34ee4f60d 100644
--- a/modules/array-list-tests
+++ b/modules/array-list-tests
@@ -4,6 +4,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/array-map-tests b/modules/array-map-tests
index c1646ea8c4..32bdb19fa9 100644
--- a/modules/array-map-tests
+++ b/modules/array-map-tests
@@ -9,6 +9,7 @@ xalloc
 stdcountof-h
 stdc_rotate_left
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/array-omap-tests b/modules/array-omap-tests
index d12847fb72..1e28a6ae53 100644
--- a/modules/array-omap-tests
+++ b/modules/array-omap-tests
@@ -6,6 +6,7 @@ Depends-on:
 xlist
 array-list
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/array-oset-tests b/modules/array-oset-tests
index 99b9fe08c2..3ba48f1301 100644
--- a/modules/array-oset-tests
+++ b/modules/array-oset-tests
@@ -7,6 +7,7 @@ Depends-on:
 xlist
 array-list
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/asyncsafe-spin-tests b/modules/asyncsafe-spin-tests
index c39d11438d..d23e278b04 100644
--- a/modules/asyncsafe-spin-tests
+++ b/modules/asyncsafe-spin-tests
@@ -9,6 +9,7 @@ thread
 lock
 yield
 random
+bool
 
 configure.ac:
 AC_CHECK_HEADERS_ONCE([semaphore.h])
diff --git a/modules/avltree-list-tests b/modules/avltree-list-tests
index 4f8f85c836..c544e6519a 100644
--- a/modules/avltree-list-tests
+++ b/modules/avltree-list-tests
@@ -5,6 +5,7 @@ tests/macros.h
 Depends-on:
 array-list
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/avltreehash-list-tests b/modules/avltreehash-list-tests
index 86ec20e5d7..04e433d5bb 100644
--- a/modules/avltreehash-list-tests
+++ b/modules/avltreehash-list-tests
@@ -7,6 +7,7 @@ array-list
 stdcountof-h
 stdc_rotate_left
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/bitset-tests b/modules/bitset-tests
index bafd916d9a..dff5c3073d 100644
--- a/modules/bitset-tests
+++ b/modules/bitset-tests
@@ -4,6 +4,7 @@ tests/macros.h
 
 Depends-on:
 c99
+bool
 
 configure.ac:
 
diff --git a/modules/canonicalize-lgpl-tests b/modules/canonicalize-lgpl-tests
index c329d21c72..61da9ffce9 100644
--- a/modules/canonicalize-lgpl-tests
+++ b/modules/canonicalize-lgpl-tests
@@ -5,6 +5,7 @@ tests/null-ptr.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 same-inode
 symlink
diff --git a/modules/canonicalize-tests b/modules/canonicalize-tests
index e4db8f0bab..7b629d3f4c 100644
--- a/modules/canonicalize-tests
+++ b/modules/canonicalize-tests
@@ -4,6 +4,7 @@ tests/null-ptr.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 same-inode
 symlink
diff --git a/modules/carray-list-tests b/modules/carray-list-tests
index 0b988e5c06..cc06175f82 100644
--- a/modules/carray-list-tests
+++ b/modules/carray-list-tests
@@ -5,6 +5,7 @@ tests/macros.h
 Depends-on:
 array-list
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/cloexec-tests b/modules/cloexec-tests
index d11fbd144f..2407177e9e 100644
--- a/modules/cloexec-tests
+++ b/modules/cloexec-tests
@@ -4,6 +4,7 @@ tests/macros.h
 
 Depends-on:
 binary-io
+bool
 getdtablesize
 msvc-nothrow
 
diff --git a/modules/cnd-tests b/modules/cnd-tests
index c775a94267..74caccf083 100644
--- a/modules/cnd-tests
+++ b/modules/cnd-tests
@@ -9,6 +9,7 @@ thrd
 gettimeofday
 streq
 memeq
+bool
 
 configure.ac:
 AC_CHECK_DECLS_ONCE([alarm])
diff --git a/modules/cond-tests b/modules/cond-tests
index 9b65c499c0..29c123f71e 100644
--- a/modules/cond-tests
+++ b/modules/cond-tests
@@ -10,6 +10,7 @@ gettimeofday
 sleep
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/dirname-tests b/modules/dirname-tests
index a0adbba0b3..beee52f5cf 100644
--- a/modules/dirname-tests
+++ b/modules/dirname-tests
@@ -4,6 +4,7 @@ tests/test-dirname.c
 Depends-on:
 strdup
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/explicit_bzero-tests b/modules/explicit_bzero-tests
index edc67f61fd..8d952a2d23 100644
--- a/modules/explicit_bzero-tests
+++ b/modules/explicit_bzero-tests
@@ -7,6 +7,7 @@ Depends-on:
 stdint-h
 vma-iter
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/fchownat-tests b/modules/fchownat-tests
index 75c0acff55..9a6ae3f569 100644
--- a/modules/fchownat-tests
+++ b/modules/fchownat-tests
@@ -7,6 +7,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 errno-h
 ignore-value
 mgetgroups
diff --git a/modules/fdutimensat-tests b/modules/fdutimensat-tests
index 99080034bf..67e476725c 100644
--- a/modules/fdutimensat-tests
+++ b/modules/fdutimensat-tests
@@ -8,6 +8,7 @@ tests/test-fdutimensat.c
 tests/macros.h
 
 Depends-on:
+bool
 fcntl-h
 ignore-value
 nanosleep
diff --git a/modules/fstatat-tests b/modules/fstatat-tests
index 461d8914f9..e52b286476 100644
--- a/modules/fstatat-tests
+++ b/modules/fstatat-tests
@@ -6,6 +6,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 getcwd-lgpl
 ignore-value
 openat-h
diff --git a/modules/futimens-tests b/modules/futimens-tests
index c2fd40f0e9..992b6c459c 100644
--- a/modules/futimens-tests
+++ b/modules/futimens-tests
@@ -17,6 +17,7 @@ dup
 utimecmp
 xconcat-filename
 xgetcwd-lgpl
+bool
 
 configure.ac:
 
diff --git a/modules/hamt-tests b/modules/hamt-tests
index 679af59184..ce41c00968 100644
--- a/modules/hamt-tests
+++ b/modules/hamt-tests
@@ -3,6 +3,7 @@ tests/test-hamt.c
 tests/macros.h
 
 Depends-on:
+bool
 
 configure.ac:
 
diff --git a/modules/hard-locale-tests b/modules/hard-locale-tests
index 6fc573b967..756e0283a4 100644
--- a/modules/hard-locale-tests
+++ b/modules/hard-locale-tests
@@ -6,6 +6,7 @@ m4/musl.m4
 Depends-on:
 setlocale
 streq
+bool
 
 configure.ac:
 gl_MUSL_LIBC
diff --git a/modules/kwset-tests b/modules/kwset-tests
index b3e1eb13c1..448de97606 100644
--- a/modules/kwset-tests
+++ b/modules/kwset-tests
@@ -3,6 +3,7 @@ tests/test-kwset.c
 tests/macros.h
 
 Depends-on:
+bool
 
 configure.ac:
 
diff --git a/modules/linkat-tests b/modules/linkat-tests
index 5fc8126070..9418a43e60 100644
--- a/modules/linkat-tests
+++ b/modules/linkat-tests
@@ -12,6 +12,7 @@ getcwd-lgpl
 same-inode
 unlinkat
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/linked-list-tests b/modules/linked-list-tests
index 80479b81f7..5fa2bbd70f 100644
--- a/modules/linked-list-tests
+++ b/modules/linked-list-tests
@@ -6,6 +6,7 @@ Depends-on:
 array-list
 linked-list-unportable-tests
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/linked-list-unportable-tests b/modules/linked-list-unportable-tests
index 0c91c72b16..a8d52b4a0c 100644
--- a/modules/linked-list-unportable-tests
+++ b/modules/linked-list-unportable-tests
@@ -15,6 +15,7 @@ yield
 nanosleep
 sigaction
 sigprocmask
+bool
 
 configure.ac:
 
diff --git a/modules/linkedhash-list-tests b/modules/linkedhash-list-tests
index 7f5e410bfa..5d9931838f 100644
--- a/modules/linkedhash-list-tests
+++ b/modules/linkedhash-list-tests
@@ -7,6 +7,7 @@ array-list
 stdcountof-h
 stdc_rotate_left
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/mbs_endswith-tests b/modules/mbs_endswith-tests
index 62032384d1..5bba4832e4 100644
--- a/modules/mbs_endswith-tests
+++ b/modules/mbs_endswith-tests
@@ -12,6 +12,7 @@ m4/codeset.m4
 
 Depends-on:
 setlocale
+bool
 
 configure.ac:
 gt_LOCALE_EN_UTF8
diff --git a/modules/mbs_startswith-tests b/modules/mbs_startswith-tests
index ac922ed450..a602d2b2db 100644
--- a/modules/mbs_startswith-tests
+++ b/modules/mbs_startswith-tests
@@ -12,6 +12,7 @@ m4/codeset.m4
 
 Depends-on:
 setlocale
+bool
 
 configure.ac:
 gt_LOCALE_EN_UTF8
diff --git a/modules/mbscasecmp-tests b/modules/mbscasecmp-tests
index bdbb0cf17b..74cee92e96 100644
--- a/modules/mbscasecmp-tests
+++ b/modules/mbscasecmp-tests
@@ -10,6 +10,7 @@ m4/codeset.m4
 
 Depends-on:
 setlocale
+bool
 
 configure.ac:
 gt_LOCALE_EN_UTF8
diff --git a/modules/mbsncasecmp-tests b/modules/mbsncasecmp-tests
index c41804a2d5..cff670b490 100644
--- a/modules/mbsncasecmp-tests
+++ b/modules/mbsncasecmp-tests
@@ -10,6 +10,7 @@ m4/codeset.m4
 
 Depends-on:
 setlocale
+bool
 
 configure.ac:
 gt_LOCALE_EN_UTF8
diff --git a/modules/mbspcasecmp-tests b/modules/mbspcasecmp-tests
index 4ca8c4d95e..d108859c1e 100644
--- a/modules/mbspcasecmp-tests
+++ b/modules/mbspcasecmp-tests
@@ -10,6 +10,7 @@ m4/codeset.m4
 
 Depends-on:
 setlocale
+bool
 
 configure.ac:
 gt_LOCALE_EN_UTF8
diff --git a/modules/mcel-bench-tests b/modules/mcel-bench-tests
index 1599505fdd..ed59573738 100644
--- a/modules/mcel-bench-tests
+++ b/modules/mcel-bench-tests
@@ -15,6 +15,7 @@ streq
 striconv
 getrusage
 gettimeofday
+bool
 
 configure.ac:
 
diff --git a/modules/memset_explicit-tests b/modules/memset_explicit-tests
index b7098f4f10..a5a95218f0 100644
--- a/modules/memset_explicit-tests
+++ b/modules/memset_explicit-tests
@@ -7,6 +7,7 @@ Depends-on:
 stdint-h
 vma-iter
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/mkdirat-tests b/modules/mkdirat-tests
index b2f3befb16..490f7c7e89 100644
--- a/modules/mkdirat-tests
+++ b/modules/mkdirat-tests
@@ -5,6 +5,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 symlink
 
diff --git a/modules/mkfifoat-tests b/modules/mkfifoat-tests
index 4c0e23fff2..97e080376e 100644
--- a/modules/mkfifoat-tests
+++ b/modules/mkfifoat-tests
@@ -5,6 +5,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 fstatat
 ignore-value
 symlink
diff --git a/modules/mountlist-tests b/modules/mountlist-tests
index 4573f039bf..428fe2d345 100644
--- a/modules/mountlist-tests
+++ b/modules/mountlist-tests
@@ -3,6 +3,7 @@ tests/test-mountlist.c
 tests/macros.h
 
 Depends-on:
+bool
 
 configure.ac:
 
diff --git a/modules/nonblocking-tests b/modules/nonblocking-tests
index e6cb591aac..3596fb7823 100644
--- a/modules/nonblocking-tests
+++ b/modules/nonblocking-tests
@@ -8,6 +8,7 @@ getdtablesize
 pipe-posix
 nonblocking-pipe-tests
 nonblocking-socket-tests
+bool
 
 configure.ac:
 
diff --git a/modules/obstack-zprintf-extra-tests b/modules/obstack-zprintf-extra-tests
index 7201159512..525eedb629 100644
--- a/modules/obstack-zprintf-extra-tests
+++ b/modules/obstack-zprintf-extra-tests
@@ -7,6 +7,7 @@ tests/macros.h
 
 Depends-on:
 physmem
+bool
 
 configure.ac:
 AC_CHECK_FUNCS_ONCE([setrlimit])
diff --git a/modules/openat-tests b/modules/openat-tests
index 1863ecfade..91f8ca40bf 100644
--- a/modules/openat-tests
+++ b/modules/openat-tests
@@ -5,6 +5,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 fcntl
 mkfifo
 symlink
diff --git a/modules/openat2-tests b/modules/openat2-tests
index 25a0ea2edb..5593a19be3 100644
--- a/modules/openat2-tests
+++ b/modules/openat2-tests
@@ -5,6 +5,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 close
 fcntl
 ignore-value
diff --git a/modules/pipe-filter-gi-tests b/modules/pipe-filter-gi-tests
index a8bce1bdb1..d15c547220 100644
--- a/modules/pipe-filter-gi-tests
+++ b/modules/pipe-filter-gi-tests
@@ -18,6 +18,7 @@ usleep
 stdcountof-h
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/pipe-filter-ii-tests b/modules/pipe-filter-ii-tests
index 319776754a..0c5b3e0927 100644
--- a/modules/pipe-filter-ii-tests
+++ b/modules/pipe-filter-ii-tests
@@ -17,6 +17,7 @@ full-write
 stdcountof-h
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/posix_spawn_file_actions_addchdir-tests b/modules/posix_spawn_file_actions_addchdir-tests
index 34bc4b2a27..95138e6b11 100644
--- a/modules/posix_spawn_file_actions_addchdir-tests
+++ b/modules/posix_spawn_file_actions_addchdir-tests
@@ -10,6 +10,7 @@ posix_spawn_file_actions_destroy
 posix_spawnp-tests
 findprog
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/printf-posix-tests b/modules/printf-posix-tests
index 6c2f698ef9..72c06e7274 100644
--- a/modules/printf-posix-tests
+++ b/modules/printf-posix-tests
@@ -12,6 +12,7 @@ tests/macros.h
 
 Depends-on:
 stdint-h
+bool
 
 configure.ac:
 AC_CHECK_FUNCS_ONCE([getrlimit setrlimit])
diff --git a/modules/pthread-cond-tests b/modules/pthread-cond-tests
index bec2ce5e15..6695b21d96 100644
--- a/modules/pthread-cond-tests
+++ b/modules/pthread-cond-tests
@@ -10,6 +10,7 @@ nanosleep
 sched_yield
 streq
 memeq
+bool
 
 configure.ac:
 AC_CHECK_DECLS_ONCE([alarm])
diff --git a/modules/pthread_sigmask-tests b/modules/pthread_sigmask-tests
index 9329074462..fadad1457b 100644
--- a/modules/pthread_sigmask-tests
+++ b/modules/pthread_sigmask-tests
@@ -11,6 +11,7 @@ sleep
 pthread-thread
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/quotearg-tests b/modules/quotearg-tests
index 7edc378352..4124bfdfab 100644
--- a/modules/quotearg-tests
+++ b/modules/quotearg-tests
@@ -20,6 +20,7 @@ setlocale
 localcharset
 streq
 memeq
+bool
 
 configure.ac:
 gt_LOCALE_FR
diff --git a/modules/rbtree-list-tests b/modules/rbtree-list-tests
index f4bca8ecfd..c520b4c413 100644
--- a/modules/rbtree-list-tests
+++ b/modules/rbtree-list-tests
@@ -6,6 +6,7 @@ Depends-on:
 array-list
 stdcountof-h
 stdc_rotate_left
+bool
 
 configure.ac:
 
diff --git a/modules/rbtreehash-list-tests b/modules/rbtreehash-list-tests
index 70facca278..d331d521ee 100644
--- a/modules/rbtreehash-list-tests
+++ b/modules/rbtreehash-list-tests
@@ -6,6 +6,7 @@ Depends-on:
 array-list
 stdcountof-h
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/readlinkat-tests b/modules/readlinkat-tests
index 1fdaa59824..6807b58347 100644
--- a/modules/readlinkat-tests
+++ b/modules/readlinkat-tests
@@ -5,6 +5,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 openat
 symlinkat
diff --git a/modules/regex-quote-tests b/modules/regex-quote-tests
index 72eb931f3b..217e6a6638 100644
--- a/modules/regex-quote-tests
+++ b/modules/regex-quote-tests
@@ -6,6 +6,7 @@ Depends-on:
 regex
 xalloc
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/renameat-tests b/modules/renameat-tests
index 1a1e7adc32..d16c062c07 100644
--- a/modules/renameat-tests
+++ b/modules/renameat-tests
@@ -12,6 +12,7 @@ opendir
 readdir
 closedir
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/renameatu-tests b/modules/renameatu-tests
index afa54dfdb8..afb75223a2 100644
--- a/modules/renameatu-tests
+++ b/modules/renameatu-tests
@@ -12,6 +12,7 @@ opendir
 readdir
 closedir
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/sigdelay-tests b/modules/sigdelay-tests
index 2c56ff4ba5..b67fdde696 100644
--- a/modules/sigdelay-tests
+++ b/modules/sigdelay-tests
@@ -10,6 +10,7 @@ sleep
 pthread-thread
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/sigprocmask-tests b/modules/sigprocmask-tests
index 254655daea..b893659c83 100644
--- a/modules/sigprocmask-tests
+++ b/modules/sigprocmask-tests
@@ -10,6 +10,7 @@ sleep
 test-xfail
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/stat-time-tests b/modules/stat-time-tests
index 367a1f6ba9..df8055b318 100644
--- a/modules/stat-time-tests
+++ b/modules/stat-time-tests
@@ -4,6 +4,7 @@ tests/macros.h
 tests/nap.h
 
 Depends-on:
+bool
 nanosleep
 stdckdint-h
 time-h
diff --git a/modules/stdc_rotate_left-tests b/modules/stdc_rotate_left-tests
index 0739a719ea..aef6da1c95 100644
--- a/modules/stdc_rotate_left-tests
+++ b/modules/stdc_rotate_left-tests
@@ -3,6 +3,7 @@ tests/from-glibc/tst-stdc_rotate_left.c
 tests/macros.h
 
 Depends-on:
+bool
 
 configure.ac:
 
diff --git a/modules/stdc_rotate_right-tests b/modules/stdc_rotate_right-tests
index 2b440d0981..820049716f 100644
--- a/modules/stdc_rotate_right-tests
+++ b/modules/stdc_rotate_right-tests
@@ -3,6 +3,7 @@ tests/from-glibc/tst-stdc_rotate_right.c
 tests/macros.h
 
 Depends-on:
+bool
 
 configure.ac:
 
diff --git a/modules/striconveha-tests b/modules/striconveha-tests
index e381cc6479..39e54fec65 100644
--- a/modules/striconveha-tests
+++ b/modules/striconveha-tests
@@ -7,6 +7,7 @@ Depends-on:
 stdcountof-h
 streq
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/supersede-tests b/modules/supersede-tests
index 7941c9c1ba..37a409ae62 100644
--- a/modules/supersede-tests
+++ b/modules/supersede-tests
@@ -14,6 +14,7 @@ unlink
 rmdir
 symlink
 memeq
+bool
 
 configure.ac:
 
diff --git a/modules/symlinkat-tests b/modules/symlinkat-tests
index c8a05ff81d..90ef6c6655 100644
--- a/modules/symlinkat-tests
+++ b/modules/symlinkat-tests
@@ -5,6 +5,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 openat
 
diff --git a/modules/unicase/u16-is-cased-tests b/modules/unicase/u16-is-cased-tests
index 1d339ecb94..1eef26a837 100644
--- a/modules/unicase/u16-is-cased-tests
+++ b/modules/unicase/u16-is-cased-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u16-is-casefolded-tests b/modules/unicase/u16-is-casefolded-tests
index dcd5e64b11..0a19589d22 100644
--- a/modules/unicase/u16-is-casefolded-tests
+++ b/modules/unicase/u16-is-casefolded-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u16-is-lowercase-tests b/modules/unicase/u16-is-lowercase-tests
index 812ab7d2d9..bc82642411 100644
--- a/modules/unicase/u16-is-lowercase-tests
+++ b/modules/unicase/u16-is-lowercase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u16-is-titlecase-tests b/modules/unicase/u16-is-titlecase-tests
index c87537bd61..23a7affe31 100644
--- a/modules/unicase/u16-is-titlecase-tests
+++ b/modules/unicase/u16-is-titlecase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u16-is-uppercase-tests b/modules/unicase/u16-is-uppercase-tests
index f8691b9286..cc7f9dbc31 100644
--- a/modules/unicase/u16-is-uppercase-tests
+++ b/modules/unicase/u16-is-uppercase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u32-is-cased-tests b/modules/unicase/u32-is-cased-tests
index 752640f724..a912af04a0 100644
--- a/modules/unicase/u32-is-cased-tests
+++ b/modules/unicase/u32-is-cased-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u32-is-casefolded-tests b/modules/unicase/u32-is-casefolded-tests
index c49120c113..53a2090bd7 100644
--- a/modules/unicase/u32-is-casefolded-tests
+++ b/modules/unicase/u32-is-casefolded-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u32-is-lowercase-tests b/modules/unicase/u32-is-lowercase-tests
index 33a29ad55d..79cd2533ff 100644
--- a/modules/unicase/u32-is-lowercase-tests
+++ b/modules/unicase/u32-is-lowercase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u32-is-titlecase-tests b/modules/unicase/u32-is-titlecase-tests
index e453b6853e..25444328e1 100644
--- a/modules/unicase/u32-is-titlecase-tests
+++ b/modules/unicase/u32-is-titlecase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u32-is-uppercase-tests b/modules/unicase/u32-is-uppercase-tests
index d9233ba1c4..4f5b496a3b 100644
--- a/modules/unicase/u32-is-uppercase-tests
+++ b/modules/unicase/u32-is-uppercase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u8-is-cased-tests b/modules/unicase/u8-is-cased-tests
index d66dbdec87..00019dbce0 100644
--- a/modules/unicase/u8-is-cased-tests
+++ b/modules/unicase/u8-is-cased-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u8-is-casefolded-tests b/modules/unicase/u8-is-casefolded-tests
index c3d1c7fc27..8acd3aeb01 100644
--- a/modules/unicase/u8-is-casefolded-tests
+++ b/modules/unicase/u8-is-casefolded-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u8-is-lowercase-tests b/modules/unicase/u8-is-lowercase-tests
index be35a4ddf9..f46748fd8b 100644
--- a/modules/unicase/u8-is-lowercase-tests
+++ b/modules/unicase/u8-is-lowercase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u8-is-titlecase-tests b/modules/unicase/u8-is-titlecase-tests
index 5b22da23b9..71874f2c38 100644
--- a/modules/unicase/u8-is-titlecase-tests
+++ b/modules/unicase/u8-is-titlecase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unicase/u8-is-uppercase-tests b/modules/unicase/u8-is-uppercase-tests
index a8c7371cfa..354b6ad65b 100644
--- a/modules/unicase/u8-is-uppercase-tests
+++ b/modules/unicase/u8-is-uppercase-tests
@@ -5,6 +5,7 @@ tests/macros.h
 
 Depends-on:
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/unictype/scripts-tests b/modules/unictype/scripts-tests
index d8ffe2d59c..59b4ecb7ff 100644
--- a/modules/unictype/scripts-tests
+++ b/modules/unictype/scripts-tests
@@ -4,6 +4,7 @@ tests/macros.h
 
 Depends-on:
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/unlinkat-tests b/modules/unlinkat-tests
index b0f35371f9..a359fa7e03 100644
--- a/modules/unlinkat-tests
+++ b/modules/unlinkat-tests
@@ -6,6 +6,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 symlink
 unlinkdir
diff --git a/modules/userspec-tests b/modules/userspec-tests
index d1d5a9dedf..eba8794c66 100644
--- a/modules/userspec-tests
+++ b/modules/userspec-tests
@@ -5,6 +5,7 @@ Depends-on:
 xalloc
 stdcountof-h
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/utime-tests b/modules/utime-tests
index aa63e9a022..d88e83198f 100644
--- a/modules/utime-tests
+++ b/modules/utime-tests
@@ -5,6 +5,7 @@ tests/test-utimens-common.h
 tests/macros.h
 
 Depends-on:
+bool
 dup
 gettext-h
 ignore-value
diff --git a/modules/utimens-tests b/modules/utimens-tests
index 37388a688c..f0dd165313 100644
--- a/modules/utimens-tests
+++ b/modules/utimens-tests
@@ -8,6 +8,7 @@ tests/test-utimens.c
 tests/macros.h
 
 Depends-on:
+bool
 dup
 gettext-h
 ignore-value
diff --git a/modules/utimensat-tests b/modules/utimensat-tests
index 7436a18502..37f7df386e 100644
--- a/modules/utimensat-tests
+++ b/modules/utimensat-tests
@@ -8,6 +8,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+bool
 ignore-value
 nanosleep
 stdckdint-h
-- 
2.53.0
0002-Depend-on-bool-for-use-of-false-or-true.patch (text/x-patch, 29 KB)
From ce2873f913a10444095939a8086fe6cf7012c0e8 Mon Sep 17 00:00:00 2001
From: Bruno Haible <[email protected]>
Date: Mon, 17 Aug 2026 16:38:22 +0200
Subject: [PATCH 2/2] Depend on 'bool' for use of 'false' or 'true'.

* modules/array-list (Depends-on): Add bool.
* modules/array-map (Depends-on): Likewise.
* modules/array-omap (Depends-on): Likewise.
* modules/array-oset (Depends-on): Likewise.
* modules/array-set (Depends-on): Likewise.
* modules/avltree-list (Depends-on): Likewise.
* modules/avltree-omap (Depends-on): Likewise.
* modules/avltree-oset (Depends-on): Likewise.
* modules/avltreehash-list (Depends-on): Likewise.
* modules/carray-list (Depends-on): Likewise.
* modules/copy-file (Depends-on): Likewise.
* modules/crc (Depends-on): Likewise.
* modules/cygpath (Depends-on): Likewise.
* modules/file-remote (Depends-on): Likewise.
* modules/fprintftime (Depends-on): Likewise.
* modules/fstrcmp (Depends-on): Likewise.
* modules/getpass-gnu (Depends-on): Likewise.
* modules/getumask (Depends-on): Likewise.
* modules/hash-map (Depends-on): Likewise.
* modules/hash-set (Depends-on): Likewise.
* modules/kwset (Depends-on): Likewise.
* modules/linked-list (Depends-on): Likewise.
* modules/linkedhash-list (Depends-on): Likewise.
* modules/linkedhash-map (Depends-on): Likewise.
* modules/linkedhash-set (Depends-on): Likewise.
* modules/mbscasecmp (Depends-on): Likewise.
* modules/mbsncasecmp (Depends-on): Likewise.
* modules/mkancesdirs (Depends-on): Likewise.
* modules/mktime-internal (Depends-on): Likewise.
* modules/newlocale (Depends-on): Likewise.
* modules/open (Depends-on): Likewise.
* modules/openat2 (Depends-on): Likewise.
* modules/options (Depends-on): Likewise.
* modules/passfd (Depends-on): Likewise.
* modules/pipe2 (Depends-on): Likewise.
* modules/rbtree-list (Depends-on): Likewise.
* modules/rbtree-omap (Depends-on): Likewise.
* modules/rbtree-oset (Depends-on): Likewise.
* modules/rbtreehash-list (Depends-on): Likewise.
* modules/setlocale-fixes (Depends-on): Likewise.
* modules/spin (Depends-on): Likewise.
* modules/strstr (Depends-on): Likewise.
* modules/sublist (Depends-on): Likewise.
* modules/timegm (Depends-on): Likewise.
* modules/unicase/u8-is-cased (Depends-on): Likewise.
* modules/unicase/u16-is-cased (Depends-on): Likewise.
* modules/unicase/u32-is-cased (Depends-on): Likewise.
* modules/uniconv/u8-conv-from-enc (Depends-on): Likewise.
* modules/uniconv/u16-conv-from-enc (Depends-on): Likewise.
* modules/uniconv/u32-conv-from-enc (Depends-on): Likewise.
* modules/unictype/block-test (Depends-on): Likewise.
* modules/unictype/category-none (Depends-on): Likewise.
* modules/unictype/category-of (Depends-on): Likewise.
* modules/unictype/mirror (Depends-on): Likewise.
* modules/unigbrk/uc-is-grapheme-break (Depends-on): Likewise.
* modules/unilbrk/u8-possible-linebreaks (Depends-on): Likewise.
* modules/unilbrk/u16-possible-linebreaks (Depends-on): Likewise.
* modules/unilbrk/u32-possible-linebreaks (Depends-on): Likewise.
* modules/unistr/u8-endswith (Depends-on): Likewise.
* modules/unistr/u8-startswith (Depends-on): Likewise.
* modules/unistr/u8-strchr (Depends-on): Likewise.
* modules/unistr/u16-endswith (Depends-on): Likewise.
* modules/unistr/u16-startswith (Depends-on): Likewise.
* modules/unistr/u32-endswith (Depends-on): Likewise.
* modules/unistr/u32-startswith (Depends-on): Likewise.
* modules/wcsstr (Depends-on): Likewise.
* modules/wcsstr-simple (Depends-on): Likewise.
* modules/windows-cygpath (Depends-on): Likewise.
---
 ChangeLog                               | 70 +++++++++++++++++++++++++
 modules/array-list                      |  1 +
 modules/array-map                       |  1 +
 modules/array-omap                      |  1 +
 modules/array-oset                      |  1 +
 modules/array-set                       |  1 +
 modules/avltree-list                    |  1 +
 modules/avltree-omap                    |  1 +
 modules/avltree-oset                    |  1 +
 modules/avltreehash-list                |  1 +
 modules/carray-list                     |  1 +
 modules/copy-file                       |  1 +
 modules/crc                             |  1 +
 modules/cygpath                         |  1 +
 modules/file-remote                     |  1 +
 modules/fprintftime                     |  1 +
 modules/fstrcmp                         |  1 +
 modules/getpass-gnu                     |  1 +
 modules/getumask                        |  1 +
 modules/hash-map                        |  1 +
 modules/hash-set                        |  1 +
 modules/kwset                           |  1 +
 modules/linked-list                     |  1 +
 modules/linkedhash-list                 |  1 +
 modules/linkedhash-map                  |  1 +
 modules/linkedhash-set                  |  1 +
 modules/mbscasecmp                      |  1 +
 modules/mbsncasecmp                     |  1 +
 modules/mkancesdirs                     |  1 +
 modules/mktime-internal                 |  1 +
 modules/newlocale                       |  1 +
 modules/open                            |  1 +
 modules/openat2                         |  1 +
 modules/options                         |  1 +
 modules/passfd                          |  1 +
 modules/pipe2                           |  1 +
 modules/rbtree-list                     |  1 +
 modules/rbtree-omap                     |  1 +
 modules/rbtree-oset                     |  1 +
 modules/rbtreehash-list                 |  1 +
 modules/setlocale-fixes                 |  1 +
 modules/spin                            |  1 +
 modules/strstr                          |  1 +
 modules/sublist                         |  1 +
 modules/timegm                          |  1 +
 modules/unicase/u16-is-cased            |  1 +
 modules/unicase/u32-is-cased            |  1 +
 modules/unicase/u8-is-cased             |  1 +
 modules/uniconv/u16-conv-from-enc       |  1 +
 modules/uniconv/u32-conv-from-enc       |  1 +
 modules/uniconv/u8-conv-from-enc        |  1 +
 modules/unictype/block-test             |  1 +
 modules/unictype/category-none          |  1 +
 modules/unictype/category-of            |  1 +
 modules/unictype/mirror                 |  1 +
 modules/unigbrk/uc-is-grapheme-break    |  1 +
 modules/unilbrk/u16-possible-linebreaks |  1 +
 modules/unilbrk/u32-possible-linebreaks |  1 +
 modules/unilbrk/u8-possible-linebreaks  |  1 +
 modules/unistr/u16-endswith             |  1 +
 modules/unistr/u16-startswith           |  1 +
 modules/unistr/u32-endswith             |  1 +
 modules/unistr/u32-startswith           |  1 +
 modules/unistr/u8-endswith              |  1 +
 modules/unistr/u8-startswith            |  1 +
 modules/unistr/u8-strchr                |  1 +
 modules/wcsstr                          |  1 +
 modules/wcsstr-simple                   |  1 +
 modules/windows-cygpath                 |  1 +
 69 files changed, 138 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3e132e5b92..752464e397 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,75 @@
 2026-08-17  Bruno Haible  <[email protected]>
 
+	Depend on 'bool' for use of 'false' or 'true'.
+	* modules/array-list (Depends-on): Add bool.
+	* modules/array-map (Depends-on): Likewise.
+	* modules/array-omap (Depends-on): Likewise.
+	* modules/array-oset (Depends-on): Likewise.
+	* modules/array-set (Depends-on): Likewise.
+	* modules/avltree-list (Depends-on): Likewise.
+	* modules/avltree-omap (Depends-on): Likewise.
+	* modules/avltree-oset (Depends-on): Likewise.
+	* modules/avltreehash-list (Depends-on): Likewise.
+	* modules/carray-list (Depends-on): Likewise.
+	* modules/copy-file (Depends-on): Likewise.
+	* modules/crc (Depends-on): Likewise.
+	* modules/cygpath (Depends-on): Likewise.
+	* modules/file-remote (Depends-on): Likewise.
+	* modules/fprintftime (Depends-on): Likewise.
+	* modules/fstrcmp (Depends-on): Likewise.
+	* modules/getpass-gnu (Depends-on): Likewise.
+	* modules/getumask (Depends-on): Likewise.
+	* modules/hash-map (Depends-on): Likewise.
+	* modules/hash-set (Depends-on): Likewise.
+	* modules/kwset (Depends-on): Likewise.
+	* modules/linked-list (Depends-on): Likewise.
+	* modules/linkedhash-list (Depends-on): Likewise.
+	* modules/linkedhash-map (Depends-on): Likewise.
+	* modules/linkedhash-set (Depends-on): Likewise.
+	* modules/mbscasecmp (Depends-on): Likewise.
+	* modules/mbsncasecmp (Depends-on): Likewise.
+	* modules/mkancesdirs (Depends-on): Likewise.
+	* modules/mktime-internal (Depends-on): Likewise.
+	* modules/newlocale (Depends-on): Likewise.
+	* modules/open (Depends-on): Likewise.
+	* modules/openat2 (Depends-on): Likewise.
+	* modules/options (Depends-on): Likewise.
+	* modules/passfd (Depends-on): Likewise.
+	* modules/pipe2 (Depends-on): Likewise.
+	* modules/rbtree-list (Depends-on): Likewise.
+	* modules/rbtree-omap (Depends-on): Likewise.
+	* modules/rbtree-oset (Depends-on): Likewise.
+	* modules/rbtreehash-list (Depends-on): Likewise.
+	* modules/setlocale-fixes (Depends-on): Likewise.
+	* modules/spin (Depends-on): Likewise.
+	* modules/strstr (Depends-on): Likewise.
+	* modules/sublist (Depends-on): Likewise.
+	* modules/timegm (Depends-on): Likewise.
+	* modules/unicase/u8-is-cased (Depends-on): Likewise.
+	* modules/unicase/u16-is-cased (Depends-on): Likewise.
+	* modules/unicase/u32-is-cased (Depends-on): Likewise.
+	* modules/uniconv/u8-conv-from-enc (Depends-on): Likewise.
+	* modules/uniconv/u16-conv-from-enc (Depends-on): Likewise.
+	* modules/uniconv/u32-conv-from-enc (Depends-on): Likewise.
+	* modules/unictype/block-test (Depends-on): Likewise.
+	* modules/unictype/category-none (Depends-on): Likewise.
+	* modules/unictype/category-of (Depends-on): Likewise.
+	* modules/unictype/mirror (Depends-on): Likewise.
+	* modules/unigbrk/uc-is-grapheme-break (Depends-on): Likewise.
+	* modules/unilbrk/u8-possible-linebreaks (Depends-on): Likewise.
+	* modules/unilbrk/u16-possible-linebreaks (Depends-on): Likewise.
+	* modules/unilbrk/u32-possible-linebreaks (Depends-on): Likewise.
+	* modules/unistr/u8-endswith (Depends-on): Likewise.
+	* modules/unistr/u8-startswith (Depends-on): Likewise.
+	* modules/unistr/u8-strchr (Depends-on): Likewise.
+	* modules/unistr/u16-endswith (Depends-on): Likewise.
+	* modules/unistr/u16-startswith (Depends-on): Likewise.
+	* modules/unistr/u32-endswith (Depends-on): Likewise.
+	* modules/unistr/u32-startswith (Depends-on): Likewise.
+	* modules/wcsstr (Depends-on): Likewise.
+	* modules/wcsstr-simple (Depends-on): Likewise.
+	* modules/windows-cygpath (Depends-on): Likewise.
+
 	tests: Depend on 'bool' for use of 'false' or 'true'.
 	* modules/array-list-tests (Depends-on): Add bool.
 	* modules/array-map-tests (Depends-on): Likewise.
diff --git a/modules/array-list b/modules/array-list
index a19a36018f..b04d6b6418 100644
--- a/modules/array-list
+++ b/modules/array-list
@@ -9,6 +9,7 @@ Depends-on:
 list
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/array-map b/modules/array-map
index 43748ca850..7a7c930f5a 100644
--- a/modules/array-map
+++ b/modules/array-map
@@ -9,6 +9,7 @@ Depends-on:
 map
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/array-omap b/modules/array-omap
index 2550a8ad9f..c4a3c30ab5 100644
--- a/modules/array-omap
+++ b/modules/array-omap
@@ -8,6 +8,7 @@ lib/gl_array_omap.c
 Depends-on:
 omap
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/array-oset b/modules/array-oset
index fb9a95453b..e7d193247a 100644
--- a/modules/array-oset
+++ b/modules/array-oset
@@ -8,6 +8,7 @@ lib/gl_array_oset.c
 Depends-on:
 oset
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/array-set b/modules/array-set
index e2af6be2d6..8e3996468f 100644
--- a/modules/array-set
+++ b/modules/array-set
@@ -9,6 +9,7 @@ Depends-on:
 set
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/avltree-list b/modules/avltree-list
index 3b854d46ea..7b5db8e756 100644
--- a/modules/avltree-list
+++ b/modules/avltree-list
@@ -11,6 +11,7 @@ lib/gl_anytree_list2.h
 
 Depends-on:
 list
+bool
 
 configure.ac:
 
diff --git a/modules/avltree-omap b/modules/avltree-omap
index 151188f233..243f6fca86 100644
--- a/modules/avltree-omap
+++ b/modules/avltree-omap
@@ -9,6 +9,7 @@ lib/gl_anytree_omap.h
 
 Depends-on:
 omap
+bool
 
 configure.ac:
 
diff --git a/modules/avltree-oset b/modules/avltree-oset
index 0036d191fb..54befe08ed 100644
--- a/modules/avltree-oset
+++ b/modules/avltree-oset
@@ -9,6 +9,7 @@ lib/gl_anytree_oset.h
 
 Depends-on:
 oset
+bool
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
diff --git a/modules/avltreehash-list b/modules/avltreehash-list
index 622f6d9924..5f2aa6db7f 100644
--- a/modules/avltreehash-list
+++ b/modules/avltreehash-list
@@ -20,6 +20,7 @@ list
 avltree-oset
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/carray-list b/modules/carray-list
index 92be16bfe6..d7ee599918 100644
--- a/modules/carray-list
+++ b/modules/carray-list
@@ -9,6 +9,7 @@ Depends-on:
 list
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/copy-file b/modules/copy-file
index b273bbbf4c..fe7a0093ff 100644
--- a/modules/copy-file
+++ b/modules/copy-file
@@ -9,6 +9,7 @@ m4/copy-file.m4
 Depends-on:
 acl-permissions
 binary-io
+bool
 c99
 close
 copy-file-range
diff --git a/modules/crc b/modules/crc
index 9950b8b0b4..b44f998f59 100644
--- a/modules/crc
+++ b/modules/crc
@@ -11,6 +11,7 @@ m4/build-cc.m4
 Depends-on:
 stdint-h
 endian
+bool
 
 configure.ac:
 AC_REQUIRE([gl_CRC_SLICE_BY_8])
diff --git a/modules/cygpath b/modules/cygpath
index cc699393d6..e3a31671f9 100644
--- a/modules/cygpath
+++ b/modules/cygpath
@@ -8,6 +8,7 @@ lib/cygpath.c
 Depends-on:
 xalloc
 free-posix
+bool
 gettext-h
 gnulib-i18n
 
diff --git a/modules/file-remote b/modules/file-remote
index f6d384a4f2..e1c42c3c3f 100644
--- a/modules/file-remote
+++ b/modules/file-remote
@@ -8,6 +8,7 @@ lib/file-remote.c
 Depends-on:
 cygpath
 streq
+bool
 
 configure.ac:
 
diff --git a/modules/fprintftime b/modules/fprintftime
index e013aecb1a..372b344670 100644
--- a/modules/fprintftime
+++ b/modules/fprintftime
@@ -14,6 +14,7 @@ stdcountof-h
 streq
 strnul
 time_rz
+bool
 
 configure.ac:
 
diff --git a/modules/fstrcmp b/modules/fstrcmp
index dcf508c82e..303d66a396 100644
--- a/modules/fstrcmp
+++ b/modules/fstrcmp
@@ -13,6 +13,7 @@ tls
 minmax
 stdint-h
 xalloc
+bool
 
 configure.ac:
 
diff --git a/modules/getpass-gnu b/modules/getpass-gnu
index e939cf2617..962e1c69e1 100644
--- a/modules/getpass-gnu
+++ b/modules/getpass-gnu
@@ -9,6 +9,7 @@ m4/tcgetattr.m4
 
 Depends-on:
 getpass
+bool
 
 configure.ac:
 gl_FUNC_GETPASS_GNU
diff --git a/modules/getumask b/modules/getumask
index cf968079bb..2cf4e71467 100644
--- a/modules/getumask
+++ b/modules/getumask
@@ -8,6 +8,7 @@ m4/getumask.m4
 Depends-on:
 sys_stat-h
 extensions
+bool            [test $HAVE_GETUMASK = 0]
 c99             [test $HAVE_GETUMASK = 0]
 memeq           [test $HAVE_GETUMASK = 0]
 unistd-h        [test $HAVE_GETUMASK = 0]
diff --git a/modules/hash-map b/modules/hash-map
index 84ba41793b..ca61626be1 100644
--- a/modules/hash-map
+++ b/modules/hash-map
@@ -13,6 +13,7 @@ map
 stdint-h
 xsize
 c99
+bool
 
 configure.ac:
 
diff --git a/modules/hash-set b/modules/hash-set
index f41704764b..66d5cbf3d9 100644
--- a/modules/hash-set
+++ b/modules/hash-set
@@ -13,6 +13,7 @@ set
 stdint-h
 xsize
 c99
+bool
 
 configure.ac:
 
diff --git a/modules/kwset b/modules/kwset
index f98165f391..22618f6960 100644
--- a/modules/kwset
+++ b/modules/kwset
@@ -6,6 +6,7 @@ lib/kwset.h
 lib/kwset.c
 
 Depends-on:
+bool
 idx
 memchr2
 minmax
diff --git a/modules/linked-list b/modules/linked-list
index 54239c8d56..2d14458516 100644
--- a/modules/linked-list
+++ b/modules/linked-list
@@ -9,6 +9,7 @@ lib/gl_anylinked_list2.h
 
 Depends-on:
 list
+bool
 
 configure.ac:
 
diff --git a/modules/linkedhash-list b/modules/linkedhash-list
index 122bfb0af7..a3d7cf628e 100644
--- a/modules/linkedhash-list
+++ b/modules/linkedhash-list
@@ -14,6 +14,7 @@ Depends-on:
 list
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/linkedhash-map b/modules/linkedhash-map
index 5143b25dbd..e84f6b4e86 100644
--- a/modules/linkedhash-map
+++ b/modules/linkedhash-map
@@ -13,6 +13,7 @@ map
 stdint-h
 xsize
 c99
+bool
 
 configure.ac:
 
diff --git a/modules/linkedhash-set b/modules/linkedhash-set
index 6d099fa8a2..fef861f7f2 100644
--- a/modules/linkedhash-set
+++ b/modules/linkedhash-set
@@ -13,6 +13,7 @@ set
 stdint-h
 xsize
 c99
+bool
 
 configure.ac:
 
diff --git a/modules/mbscasecmp b/modules/mbscasecmp
index 473fd018c9..2ce4e0c876 100644
--- a/modules/mbscasecmp
+++ b/modules/mbscasecmp
@@ -10,6 +10,7 @@ mbuiterf            [test "$GNULIB_MCEL_PREFER" != yes]
 stdlib-h
 string-h
 uchar-h
+bool
 
 configure.ac:
 gl_STRING_MODULE_INDICATOR([mbscasecmp])
diff --git a/modules/mbsncasecmp b/modules/mbsncasecmp
index 665342ddf0..76278ba0c9 100644
--- a/modules/mbsncasecmp
+++ b/modules/mbsncasecmp
@@ -8,6 +8,7 @@ Depends-on:
 c32tolower
 mbuiterf
 string-h
+bool
 
 configure.ac:
 gl_STRING_MODULE_INDICATOR([mbsncasecmp])
diff --git a/modules/mkancesdirs b/modules/mkancesdirs
index 332adfc149..480e53c217 100644
--- a/modules/mkancesdirs
+++ b/modules/mkancesdirs
@@ -7,6 +7,7 @@ lib/mkancesdirs.h
 m4/mkancesdirs.m4
 
 Depends-on:
+bool
 fcntl-h
 filename
 savewd
diff --git a/modules/mktime-internal b/modules/mktime-internal
index 40313d6215..d0f48cf644 100644
--- a/modules/mktime-internal
+++ b/modules/mktime-internal
@@ -8,6 +8,7 @@ lib/mktime.c
 Depends-on:
 c99
 mktime
+bool
 
 configure.ac:
 gl_FUNC_MKTIME_INTERNAL
diff --git a/modules/newlocale b/modules/newlocale
index d39d0d4780..574750ec4b 100644
--- a/modules/newlocale
+++ b/modules/newlocale
@@ -9,6 +9,7 @@ Depends-on:
 locale-h
 localename-environ
 streq
+bool
 
 configure.ac:
 gl_FUNC_NEWLOCALE
diff --git a/modules/open b/modules/open
index 8d69aae990..7ae3da61f2 100644
--- a/modules/open
+++ b/modules/open
@@ -11,6 +11,7 @@ m4/mode_t.m4
 Depends-on:
 fcntl-h
 largefile
+bool            [test $REPLACE_OPEN = 1]
 cloexec         [test $REPLACE_OPEN = 1]
 fstat           [test $REPLACE_OPEN = 1]
 lstat           [test $REPLACE_OPEN = 1]
diff --git a/modules/openat2 b/modules/openat2
index 2bc91c1586..6fb5397051 100644
--- a/modules/openat2
+++ b/modules/openat2
@@ -8,6 +8,7 @@ m4/openat2.m4
 Depends-on:
 fcntl-h
 extensions
+bool            [test $HAVE_OPENAT2 = 0]
 close           [test $HAVE_OPENAT2 = 0]
 eloop-threshold [test $HAVE_OPENAT2 = 0]
 errno-h         [test $HAVE_OPENAT2 = 0]
diff --git a/modules/options b/modules/options
index 97a3211572..657f21b840 100644
--- a/modules/options
+++ b/modules/options
@@ -8,6 +8,7 @@ lib/options.c
 Depends-on:
 getopt-gnu
 stdcountof-h
+bool
 
 configure.ac:
 
diff --git a/modules/passfd b/modules/passfd
index 406601dfdd..eb599cb6ee 100644
--- a/modules/passfd
+++ b/modules/passfd
@@ -10,6 +10,7 @@ Depends-on:
 cloexec
 sys_socket-h
 socketlib
+bool
 
 configure.ac:
 gl_PASSFD
diff --git a/modules/pipe2 b/modules/pipe2
index d77988a964..2df4b744ec 100644
--- a/modules/pipe2
+++ b/modules/pipe2
@@ -11,6 +11,7 @@ fcntl-h
 binary-io
 extensions
 assert-h
+bool
 
 configure.ac:
 gl_FUNC_PIPE2
diff --git a/modules/rbtree-list b/modules/rbtree-list
index 1b48a8c06f..2c3b685c88 100644
--- a/modules/rbtree-list
+++ b/modules/rbtree-list
@@ -11,6 +11,7 @@ lib/gl_anytree_list2.h
 
 Depends-on:
 list
+bool
 
 configure.ac:
 
diff --git a/modules/rbtree-omap b/modules/rbtree-omap
index 27efee8d15..13ca7cb1e4 100644
--- a/modules/rbtree-omap
+++ b/modules/rbtree-omap
@@ -9,6 +9,7 @@ lib/gl_anytree_omap.h
 
 Depends-on:
 omap
+bool
 
 configure.ac:
 
diff --git a/modules/rbtree-oset b/modules/rbtree-oset
index c4a00852d2..0525f8bfa7 100644
--- a/modules/rbtree-oset
+++ b/modules/rbtree-oset
@@ -9,6 +9,7 @@ lib/gl_anytree_oset.h
 
 Depends-on:
 oset
+bool
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
diff --git a/modules/rbtreehash-list b/modules/rbtreehash-list
index eed46df806..2a18ce8ade 100644
--- a/modules/rbtreehash-list
+++ b/modules/rbtreehash-list
@@ -20,6 +20,7 @@ list
 rbtree-oset
 stdint-h
 xsize
+bool
 
 configure.ac:
 
diff --git a/modules/setlocale-fixes b/modules/setlocale-fixes
index 7b6597d736..addad93287 100644
--- a/modules/setlocale-fixes
+++ b/modules/setlocale-fixes
@@ -8,6 +8,7 @@ lib/setlocale-fixes.c
 Depends-on:
 streq
 strncpy
+bool
 
 configure.ac:
 AC_REQUIRE([AC_CANONICAL_HOST])
diff --git a/modules/spin b/modules/spin
index 756c7b5e98..d92663d8c3 100644
--- a/modules/spin
+++ b/modules/spin
@@ -9,6 +9,7 @@ m4/atomic-cas.m4
 Depends-on:
 windows-spin
 sparcv8+
+bool
 
 configure.ac:
 AC_REQUIRE([gl_ATOMIC_COMPARE_AND_SWAP])
diff --git a/modules/strstr b/modules/strstr
index 1653c9167b..dc1b3730b1 100644
--- a/modules/strstr
+++ b/modules/strstr
@@ -6,6 +6,7 @@ lib/strstr.c
 
 Depends-on:
 strstr-simple
+bool
 
 configure.ac:
 gl_FUNC_STRSTR
diff --git a/modules/sublist b/modules/sublist
index b3d818f41c..1c21d34f3f 100644
--- a/modules/sublist
+++ b/modules/sublist
@@ -8,6 +8,7 @@ lib/gl_sublist.c
 Depends-on:
 list
 stdint-h
+bool
 
 configure.ac:
 
diff --git a/modules/timegm b/modules/timegm
index 738eb40bdb..fc5f62d44c 100644
--- a/modules/timegm
+++ b/modules/timegm
@@ -8,6 +8,7 @@ m4/timegm.m4
 
 Depends-on:
 time-h
+bool            [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
 mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
 time_r          [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
 
diff --git a/modules/unicase/u16-is-cased b/modules/unicase/u16-is-cased
index be2c3207cb..3a0dd9043c 100644
--- a/modules/unicase/u16-is-cased
+++ b/modules/unicase/u16-is-cased
@@ -13,6 +13,7 @@ unicase/u16-totitle
 uninorm/u16-normalize
 uninorm/nfd
 unistr/u16-cmp
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unicase/u16-is-cased])
diff --git a/modules/unicase/u32-is-cased b/modules/unicase/u32-is-cased
index 470dd2b300..9ff71bd2e5 100644
--- a/modules/unicase/u32-is-cased
+++ b/modules/unicase/u32-is-cased
@@ -13,6 +13,7 @@ unicase/u32-totitle
 uninorm/u32-normalize
 uninorm/nfd
 unistr/u32-cmp
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unicase/u32-is-cased])
diff --git a/modules/unicase/u8-is-cased b/modules/unicase/u8-is-cased
index bf70217c56..4b27d2ffbc 100644
--- a/modules/unicase/u8-is-cased
+++ b/modules/unicase/u8-is-cased
@@ -13,6 +13,7 @@ unicase/u8-totitle
 uninorm/u8-normalize
 uninorm/nfd
 unistr/u8-cmp
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unicase/u8-is-cased])
diff --git a/modules/uniconv/u16-conv-from-enc b/modules/uniconv/u16-conv-from-enc
index ba27bf7d39..73df99d734 100644
--- a/modules/uniconv/u16-conv-from-enc
+++ b/modules/uniconv/u16-conv-from-enc
@@ -12,6 +12,7 @@ uniconv/u8-conv-from-enc
 unistr/u8-to-u16
 unistr/u8-mblen
 unistr/u16-mblen
+bool
 
 configure.ac:
 AC_REQUIRE([gl_BIGENDIAN])
diff --git a/modules/uniconv/u32-conv-from-enc b/modules/uniconv/u32-conv-from-enc
index 760335cf28..810ed06b8a 100644
--- a/modules/uniconv/u32-conv-from-enc
+++ b/modules/uniconv/u32-conv-from-enc
@@ -12,6 +12,7 @@ uniconv/u8-conv-from-enc
 unistr/u8-to-u32
 unistr/u8-mblen
 unistr/u32-mblen
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-conv-from-enc])
diff --git a/modules/uniconv/u8-conv-from-enc b/modules/uniconv/u8-conv-from-enc
index 770faee71e..3fa779dd0c 100644
--- a/modules/uniconv/u8-conv-from-enc
+++ b/modules/uniconv/u8-conv-from-enc
@@ -10,6 +10,7 @@ c-strcaseeq
 striconveha
 unistr/u8-check
 unistr/u8-mblen
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-conv-from-enc])
diff --git a/modules/unictype/block-test b/modules/unictype/block-test
index 286342ff61..fb6350e896 100644
--- a/modules/unictype/block-test
+++ b/modules/unictype/block-test
@@ -6,6 +6,7 @@ lib/unictype/block_test.c
 
 Depends-on:
 unictype/base
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unictype/block-test])
diff --git a/modules/unictype/category-none b/modules/unictype/category-none
index 7b8aa83da6..c2b2f06a04 100644
--- a/modules/unictype/category-none
+++ b/modules/unictype/category-none
@@ -6,6 +6,7 @@ lib/unictype/categ_none.c
 
 Depends-on:
 unictype/base
+bool
 
 configure.ac:
 dnl Since _UC_CATEGORY_NONE is not exported from an installed libunistring,
diff --git a/modules/unictype/category-of b/modules/unictype/category-of
index 54d73e7a98..fcf68a71d6 100644
--- a/modules/unictype/category-of
+++ b/modules/unictype/category-of
@@ -8,6 +8,7 @@ lib/unictype/categ_of.h
 Depends-on:
 unictype/base
 unictype/category-none
+bool
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
diff --git a/modules/unictype/mirror b/modules/unictype/mirror
index c5ddc4e861..1112c0c0ee 100644
--- a/modules/unictype/mirror
+++ b/modules/unictype/mirror
@@ -7,6 +7,7 @@ lib/unictype/mirror.h
 
 Depends-on:
 unictype/base
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unictype/mirror])
diff --git a/modules/unigbrk/uc-is-grapheme-break b/modules/unigbrk/uc-is-grapheme-break
index 7da6e7ddd9..59de60564f 100644
--- a/modules/unigbrk/uc-is-grapheme-break
+++ b/modules/unigbrk/uc-is-grapheme-break
@@ -7,6 +7,7 @@ lib/unigbrk/uc-is-grapheme-break.c
 Depends-on:
 unigbrk/base
 unigbrk/uc-gbrk-prop
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unigbrk/uc-is-grapheme-break])
diff --git a/modules/unilbrk/u16-possible-linebreaks b/modules/unilbrk/u16-possible-linebreaks
index f2d0c1bde2..dc0e96339a 100644
--- a/modules/unilbrk/u16-possible-linebreaks
+++ b/modules/unilbrk/u16-possible-linebreaks
@@ -11,6 +11,7 @@ unilbrk/base
 unilbrk/tables
 unistr/u16-mbtouc-unsafe
 streq-opt
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unilbrk/u16-possible-linebreaks])
diff --git a/modules/unilbrk/u32-possible-linebreaks b/modules/unilbrk/u32-possible-linebreaks
index fcae636d5d..cd9dc6db6f 100644
--- a/modules/unilbrk/u32-possible-linebreaks
+++ b/modules/unilbrk/u32-possible-linebreaks
@@ -10,6 +10,7 @@ Depends-on:
 unilbrk/base
 unilbrk/tables
 streq-opt
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unilbrk/u32-possible-linebreaks])
diff --git a/modules/unilbrk/u8-possible-linebreaks b/modules/unilbrk/u8-possible-linebreaks
index 43b933b39a..592d464276 100644
--- a/modules/unilbrk/u8-possible-linebreaks
+++ b/modules/unilbrk/u8-possible-linebreaks
@@ -11,6 +11,7 @@ unilbrk/base
 unilbrk/tables
 unistr/u8-mbtouc-unsafe
 streq-opt
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([1.4], [unilbrk/u8-possible-linebreaks])
diff --git a/modules/unistr/u16-endswith b/modules/unistr/u16-endswith
index 0ecdc7f442..07a15d991c 100644
--- a/modules/unistr/u16-endswith
+++ b/modules/unistr/u16-endswith
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u16-strlen
 unistr/u16-cmp
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-endswith])
diff --git a/modules/unistr/u16-startswith b/modules/unistr/u16-startswith
index 8142c236eb..31405446f8 100644
--- a/modules/unistr/u16-startswith
+++ b/modules/unistr/u16-startswith
@@ -7,6 +7,7 @@ lib/unistr/u-startswith.h
 
 Depends-on:
 unistr/base
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-startswith])
diff --git a/modules/unistr/u32-endswith b/modules/unistr/u32-endswith
index 4b13820c43..17c2817991 100644
--- a/modules/unistr/u32-endswith
+++ b/modules/unistr/u32-endswith
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u32-strlen
 unistr/u32-cmp
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-endswith])
diff --git a/modules/unistr/u32-startswith b/modules/unistr/u32-startswith
index 29b68b9a19..7f0e38be58 100644
--- a/modules/unistr/u32-startswith
+++ b/modules/unistr/u32-startswith
@@ -7,6 +7,7 @@ lib/unistr/u-startswith.h
 
 Depends-on:
 unistr/base
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-startswith])
diff --git a/modules/unistr/u8-endswith b/modules/unistr/u8-endswith
index 8b5f6e0ece..ffef6c147f 100644
--- a/modules/unistr/u8-endswith
+++ b/modules/unistr/u8-endswith
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u8-strlen
 unistr/u8-cmp
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-endswith])
diff --git a/modules/unistr/u8-startswith b/modules/unistr/u8-startswith
index 3e45787c48..506969f326 100644
--- a/modules/unistr/u8-startswith
+++ b/modules/unistr/u8-startswith
@@ -7,6 +7,7 @@ lib/unistr/u-startswith.h
 
 Depends-on:
 unistr/base
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-startswith])
diff --git a/modules/unistr/u8-strchr b/modules/unistr/u8-strchr
index 9053da275c..cb4980b8d0 100644
--- a/modules/unistr/u8-strchr
+++ b/modules/unistr/u8-strchr
@@ -7,6 +7,7 @@ lib/unistr/u8-strchr.c
 Depends-on:
 unistr/base
 unistr/u8-uctomb
+bool
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strchr])
diff --git a/modules/wcsstr b/modules/wcsstr
index 891de1ea98..3dd011a70d 100644
--- a/modules/wcsstr
+++ b/modules/wcsstr
@@ -9,6 +9,7 @@ m4/wcsstr.m4
 
 Depends-on:
 wcsstr-simple
+bool            [test $HAVE_WCSSTR = 0 || test $REPLACE_WCSSTR = 1]
 builtin-expect  [test $HAVE_WCSSTR = 0 || test $REPLACE_WCSSTR = 1]
 wcschr          [test $HAVE_WCSSTR = 0 || test $REPLACE_WCSSTR = 1]
 wmemchr         [test $HAVE_WCSSTR = 0 || test $REPLACE_WCSSTR = 1]
diff --git a/modules/wcsstr-simple b/modules/wcsstr-simple
index 3c1dc2a36d..4093f744a1 100644
--- a/modules/wcsstr-simple
+++ b/modules/wcsstr-simple
@@ -8,6 +8,7 @@ m4/wcsstr.m4
 
 Depends-on:
 wchar-h
+bool            [test $HAVE_WCSSTR = 0]
 wcschr          [test $HAVE_WCSSTR = 0]
 
 configure.ac:
diff --git a/modules/windows-cygpath b/modules/windows-cygpath
index 623b0d3e8c..26c796476d 100644
--- a/modules/windows-cygpath
+++ b/modules/windows-cygpath
@@ -11,6 +11,7 @@ wait-process
 getline
 xalloc
 free-posix
+bool
 gettext-h
 gnulib-i18n
 
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.