Clean up <stdbool.h> reference in meson.build.
authorThomas Munro <tmunro@postgresql.org>
Mon, 25 Nov 2024 22:29:31 +0000 (11:29 +1300)
committerThomas Munro <tmunro@postgresql.org>
Mon, 25 Nov 2024 22:32:39 +0000 (11:32 +1300)
Commit bc5a4dfc accidentally left a check for <stdbool.h> in
meson.build's header_checks.  Synchronize with configure, which no
longer defines HAVE_STDBOOL_H.

There is still a reference to <stdbool.h> in an earlier test to see if
we need -std=c99 to get C99 features, like autoconf 2.69's
AC_PROG_CC_C99.  (Therefore the test remove by this commit was
tautological since day one: you'd have copped "C compiler does not
support C99" before making it this far.)

Back-patch to 16, where meson begins.

meson.build

index bab288932853ec6d715ae79dc3b737e1f3186eca..8ea42dea81ffa0ae01e440e6f13c8963105a1d4c 100644 (file)
@@ -2258,7 +2258,6 @@ header_checks = [
   'ifaddrs.h',
   'langinfo.h',
   'mbarrier.h',
-  'stdbool.h',
   'strings.h',
   'sys/epoll.h',
   'sys/event.h',