]> git.ipfire.org Git - thirdparty/autoconf.git/commit
autom4te: always update the output file, even if it hasn’t changed
authorZack Weinberg <zackw@panix.com>
Tue, 29 Dec 2020 20:33:33 +0000 (15:33 -0500)
committerZack Weinberg <zackw@panix.com>
Wed, 30 Dec 2020 15:25:39 +0000 (10:25 -0500)
commitbef282971ce1ad6a13b8fac57a9b45a88ec5e61d
tree7f17dbbeddce99bdd135d745171668754c82a574
parentfac6e5e5cf5b974dda2b82d6331d9dcb4b3e0016
autom4te: always update the output file, even if it hasn’t changed

Automake generates a Makefile rule for regenerating the configure
script, that relies on an invocation of ‘autoconf’ always bumping the
timestamp on the configure script, even if it hasn’t changed.
The patch to make autom4te update the output file atomically
(1725c947144d9bebfe7817c2c5f0d53d884b1297) broke this.

Fixes several failures in automake’s test suite.

 * bin/autom4te.in (handle_output): Always call update_file with force=1.
 * tests/tools.at (autoconf: timestamp changes): New test.
bin/autom4te.in
tests/tools.at