[PATCH] autoregen.py: look for AC_CONFIG_HEADER too, not just AC_CONFIG_HEADERS

Sam James sam@gentoo.org
Sun Oct 11 18:48:24 GMT 2026


AC_CONFIG_HEADER is obsolete but we still use it in a few subdirs in GCC.

I'll fix that, but in the meantime, fix autoregen.py to handle that too
so changes like r16-5820-gde867059a0fffe (gcc) aren't needed.
---
(cc andrea in case you were curious)

 builder/containers/autoregen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builder/containers/autoregen.py b/builder/containers/autoregen.py
index 7ac17c1..dd141c1 100755
--- a/builder/containers/autoregen.py
+++ b/builder/containers/autoregen.py
@@ -96,7 +96,7 @@ def regenerate_manually():
         run_shell(f"{ACLOCAL_BIN} --force {include_arg} {include_arg2}")
 
     if (folder / "config.in").is_file() or any(
-        True for line in configure_lines if line.startswith("AC_CONFIG_HEADERS")
+        True for line in configure_lines if line.startswith("AC_CONFIG_HEADER")
     ):
         run_shell(f"{AUTOHEADER_BIN} -f")
 

base-commit: b0a2d99c1db8546947e91b54ab51e4878099bae8
-- 
2.56.0



More information about the Buildbot mailing list