summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-11-20 11:05:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2025-11-20 11:14:03 -0800
commit918b9f04f422efb7b614a9f71b004523a39d7674 (patch)
treebff877f7eed2e5dd17a57998eccd53972798f3bc /lib
parentf4d353f9c9e7dea67f04020a9218c7dfb244d44b (diff)
Prefer C23 support if available
This merges in changes that were made to Autoconf master in April 2024. It causes ‘configure’ to prefer the C compiler to enable C23 features if possible; otherwise, ‘configure’ behaves as before, using C11 if available and C99 if not. * admin/merge-gnulib (GNULIB_MODULES): Add std-gnu23. (AVOIDED_MODULES): Add (i.e., start avoiding) std-gnu11. * m4/std-gnu11.m4: Remove. * m4/std-gnu23.m4: Add.
Diffstat (limited to 'lib')
-rw-r--r--lib/gnulib.mk.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index e655023878e..96d9cd8bd44 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -69,6 +69,7 @@
# --avoid=setenv \
# --avoid=sigprocmask \
# --avoid=stat \
+# --avoid=std-gnu11 \
# --avoid=stdarg-h \
# --avoid=threadlib \
# --avoid=tzset \
@@ -159,7 +160,7 @@
# sigdescr_np \
# socklen \
# stat-time \
-# std-gnu11 \
+# std-gnu23 \
# stdc_bit_width \
# stdc_count_ones \
# stdc_trailing_zeros \