[PATCH] autoregen.py: Use autoreconf for all directories
Mark Wielaard
mark@klomp.org
Wed Oct 14 11:01:00 GMT 2026
Hi Simon,
On Tue, Oct 13, 2026 at 02:44:32PM -0400, Simon Marchi wrote:
> autoregen.py runs "autoreconf -f" in most directories, except for the
> top-level and fixincludes, which use regenerate_manually.
>
> Since gcc commit d817e08d9ee ("fixincludes: add AC_CONFIG_MACRO_DIRS to
> configure.ac"), autoreconf is able to regenerate aclocal.m4 in
> fixincludes.
>
> For the top-level, "autoreconf -f" runs "aclocal --force", which does
> not produce an aclocal.m4 (all the macros are included explicitly with
> m4_include), and then "autoconf --force". It skips autoheader, automake
> and libtoolize, since the top-level configure.ac does not use them.
> This is equivalent to what regenerate_manually does for the top-level.
>
> Running "autoreconf -f" in gcc's fixincludes, and in the top-level of
> both gcc and binutils-gdb, produces no changes.
>
> The gotools hack in regenerate_manually has been dead code for a while,
> since that directory already uses autoreconf.
>
> Remove MANUAL_CONF_DIRS and regenerate_manually, and use
> regenerate_with_autoreconf for all directories.
That is a nice simplification.
Pushed,
Mark
More information about the Buildbot
mailing list