Remove the calls to aclocal, libtoolize, autoconf, and automake, which became unneeded after the recent addition of autoreconf to autogen.sh (PR #1516, see also issue #1492).
On the same occasion:
Replace perl with sed.
But is this check needed anymore since version 1.4 is ancient?
Remove config.cache if needed.
The "original" autogen.sh contains only the first half of the code to remove config.cache when configure changes.
Add the second half of the code that removes config.cache if needed.
Prefix messages with the script name.
The Autoconf system is careful to prefix its messages with the program name. Do so for the messages here, too, so their source is clear.
Add --clean.
Stale or corrupted caches may cause mysterious problems. Add an option to start from a clean state.
Add --help.
Add invocation directory consistency check.
Insist that autogen.sh is invoked from the top-level directory.
I checked it on MacOS (old system - 11.6.2), Cygwin, MinGW64, and Linux.
On MinGW64, configure doesn't have an x bit. Instead of changing autogen.sh, I changed README-MinGW64.md.
Remove the calls to
aclocal
,libtoolize
,autoconf
, andautomake
, which became unneeded after the recent addition ofautoreconf
toautogen.sh
(PR #1516, see also issue #1492).On the same occasion:
perl
withsed
. But is this check needed anymore since version 1.4 is ancient?config.cache
if needed. The "original"autogen.sh
contains only the first half of the code to removeconfig.cache
whenconfigure
changes. Add the second half of the code that removesconfig.cache
if needed.autogen.sh
is invoked from the top-level directory.I checked it on MacOS (old system - 11.6.2), Cygwin, MinGW64, and Linux. On MinGW64,
configure
doesn't have an x bit. Instead of changingautogen.sh
, I changedREADME-MinGW64.md
.