Re: [PATCH 0/3] RFC: automated bootstrap script

2021-02-05 Thread Paul Eggert
On 2/5/21 7:34 AM, Zack Weinberg wrote: it does involve some relatively invasive changes to the actual code, notably rewriting the ‘autoconf’ driver program in Perl so the bootstrap script doesn’t have to know how to generate M4sh scripts All worth it in my opinion. Thanks for doing that.

[PATCH 0/3] RFC: automated bootstrap script

2021-02-05 Thread Zack Weinberg
The procedure for building Autoconf from a git checkout is a little awkward, involving building it once, then using the just-built autoconf to regenerate the configure script in the source directory, then throwing away the entire first build and doing it over again, and only then is the test suite

[PATCH 2/3] Rewrite bin/autoconf in Perl.

2021-02-05 Thread Zack Weinberg
Of all the installed programs (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate, ifnames) autoconf is the only one that is a shell script instead of a Perl script. This means it has to do a lot of fiddly quoting and requoting to assemble an autom4te command line, it doesn’t get to

[PATCH 1/3] Generate version.m4 from config.status, in lib/ not lib/m4sugar/.

2021-02-05 Thread Zack Weinberg
This simplifies the Makefile a bit and also paves the way for a bootstrap script (replacing the process of re-running autoreconf with the just-built autoconf) which will be able to cope with generated files that get installed in @pkgdatadir@ but not in @pkgdatadir@/m4sugar. * lib/version.in: New

[PATCH 3/3] Add a bootstrap script like Automake has.

2021-02-05 Thread Zack Weinberg
The bootstrap script generates the same files ‘autoreconf -vi’ would, in a normal package, but it uses autoconf *from the git sources* to do it. This means people building from git do not need autoconf to be installed already. More importantly, it eliminates the extra steps when building from