summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-12-26 10:35:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-12-26 10:10:34 -0800
commitf612e10a80a71d272940e8228ae5b34a9cc2bbfd (patch)
tree9bbe17e2d0d1fd81fe519d59015e4a03a0e6ef0b
parent3f3354507bb9c2f1d38412cf566ff9443408023e (diff)
downloadautoconf-f612e10a80a71d272940e8228ae5b34a9cc2bbfd.tar.gz
fix AC_CHECK_HEADER_STDBOOL regression
Commit 6dcecb780a69bd208088d666b299e92aa7ae7e80 "Port AC_CHECK_HEADER_STDBOOL to C23" causes AC_CHECK_HEADER_STDBOOL to always fail, even on systems with a conforming stdbool.h. There is no longer an 'a' variable so it should not be referenced in the return statement. Copyright-paperwork-exempt: yes
-rw-r--r--lib/autoconf/headers.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4
index c5acd16e..ccb1bf4b 100644
--- a/lib/autoconf/headers.m4
+++ b/lib/autoconf/headers.m4
@@ -639,7 +639,7 @@ AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
/* Refer to every declared value, so they cannot be
discarded as unused. */
- return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
+ return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
+ !l + !m + !n + !o + !p + !pp + !ps);
]])],
[ac_cv_header_stdbool_h=yes],