Thanks for reporting the problem. Does the attached patch fix it?
From 79143eb86903f071065b4be1c2cea18ad3f7f238 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Sat, 5 Sep 2026 15:07:27 -0700
Subject: [PATCH] Fix autoupdate+AC_PROG_GCC_TRADITIONAL

Problem reported by Josh Straub in:
https://lists.gnu.org/r/bug-autoconf/2026-09/msg00000.html
* lib/autoconf/c.m4 (AC_PROG_CC_C89, AC_PROG_CC_C99)
(AC_PROG_CC_STDC, AC_PROG_GCC_TRADITIONAL):
Invoke AC_PROG_CC directly, instead of using AC_REQUIRE.
---
 lib/autoconf/c.m4 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index 07542d1a..b22df0df 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -1779,28 +1779,28 @@ AC_DEFUN([_AC_PROG_CC_C89],
 # as that'd be incompatible with how Automake redefines AC_PROG_CC.  See
 # <https://lists.gnu.org/archive/html/autoconf/2012-10/msg00048.html>.
 AU_DEFUN([AC_PROG_CC_C89],
-  [AC_REQUIRE([AC_PROG_CC])],
+  [AC_PROG_CC],
   [$0 is obsolete; use AC_PROG_CC]
 )
 
 # AC_PROG_CC_C99
 # --------------
 AU_DEFUN([AC_PROG_CC_C99],
-  [AC_REQUIRE([AC_PROG_CC])],
+  [AC_PROG_CC],
   [$0 is obsolete; use AC_PROG_CC]
 )
 
 # AC_PROG_CC_STDC
 # ---------------
 AU_DEFUN([AC_PROG_CC_STDC],
-  [AC_REQUIRE([AC_PROG_CC])],
+  [AC_PROG_CC],
   [$0 is obsolete; use AC_PROG_CC]
 )
 
 # AC_PROG_GCC_TRADITIONAL
 # -----------------------
 AU_DEFUN([AC_PROG_GCC_TRADITIONAL],
-  [AC_REQUIRE([AC_PROG_CC])],
+  [AC_PROG_CC],
   [$0 is obsolete; use AC_PROG_CC]
 )
 
-- 
2.53.0

Reply via email to