Hi! On 2024-03-04T00:30:05+0000, Sam James <s...@gentoo.org> wrote: > Mark Wielaard <m...@klomp.org> writes: >> On Fri, Mar 01, 2024 at 05:32:15PM +0100, Christophe Lyon wrote: >>> [...], I read >>> https://gcc.gnu.org/wiki/Regenerating_GCC_Configuration >>> which basically says "run autoreconf in every dir where there is a >>> configure script" >>> but this is not exactly what autoregen.py is doing. IIRC it is based >>> on a script from Martin Liska, do you know/remember why it follows a >>> different process? >> >> CCing Sam and Arsen who helped refine the autoregen.py script, who >> might remember more details. We wanted a script that worked for both >> gcc and binutils-gdb. And as far as I know autoreconf simply didn't >> work in all directories. We also needed to skip some directories that >> did contain a configure script, but that were imported (gotools, >> readline, minizip). > > What we really need to do is, for a start, land tschwinge/aoliva's patches [0] > for AC_CONFIG_SUBDIRS.
Let me allocate some time this week to get that one completed. > Right now, the current situation is janky and it's nowhere near > idiomatic autotools usage. It is not a comfortable experience > interacting with it even as someone who is familiar and happy with using > autotools otherwise. > > I didn't yet play with maintainer-mode myself but I also didn't see much > point given I knew of more fundamental problems like this. > > [0] https://inbox.sourceware.org/gcc-patches/oril72c4yh....@lxoliva.fsfla.org/ Grüße Thomas