Follow-up Comment #3, sr #111400 (group autoconf): [comment #2 comment #2:] > it would be preferable if it weren't necessary, though.
True. I installted the following patch on Savannah master; please give it a try. From 039f7b18b1407b657e335a4e3b0447cf2f162b07 Mon Sep 17 00:00:00 2001 From: Paul Eggert <[email protected]> Date: Thu, 29 Oct 2026 14:39:33 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20override=20-std=3D=20in=20CC=20?= =?UTF-8?q?or=20CFLAGS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib/autoconf/c.m4 (_AC_PROG_CC_STDC_EDITION_TRY): If the user specified a -std option, do not attempt to override it; just check it. Problem reported by Toolybird (sr#111400). --- lib/autoconf/c.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index f3a1caa5..388fb592 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -1751,6 +1751,7 @@ do CC="$ac_save_CC $ac_arg" _AC_COMPILE_IFELSE([], [ac_cv_prog_cc_c$1=$ac_arg]) test "x$ac_cv_prog_cc_c$1" != "xno" && break + AS_CASE([" $ac_save_CC $CFLAGS"], [[*[[:space:]]-std[:=]*]], [break]) done rm -f conftest.$ac_ext CC=$ac_save_CC]) -- 2.56.0 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?111400> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature
