]> git.ipfire.org Git - thirdparty/automake.git/commit
Use complete configure.ac’s in testsuite.
authorZack Weinberg <zackw@panix.com>
Wed, 7 Oct 2020 13:19:06 +0000 (09:19 -0400)
committerZack Weinberg <zackw@panix.com>
Wed, 7 Oct 2020 13:19:06 +0000 (09:19 -0400)
commit9f83372ba3406587100b043f6d6f266eaaeada4f
tree5cb64ef0fd06653a7105f0cdbabbff3fb478e8a9
parentdbc1c9e775b0ce78c3cbb912d5e9934f8a99965a
Use complete configure.ac’s in testsuite.

Autoconf 2.70 will issue warnings if it encounters a configure.ac that doesn’t
call both AC_INIT and AC_OUTPUT.

Automake already issues warnings if it encounters a configure.ac that uses an
AM_ macro but doesn’t call AM_INIT_AUTOMAKE or AC_CONFIG_FILES([Makefile]).

In two places, the testsuite was tripping these warnings, leading to spurious
failures with Autoconf 2.70 betas.

* t/aminit-moreargs-deprecation.sh: Add AC_OUTPUT to test configure.ac.
* t/mkdirp-deprecation.sh: Use a complete test configure.ac, not a stub
  containing only a use of AM_PROG_MKDIR_P.
t/aminit-moreargs-deprecation.sh
t/mkdirp-deprecation.sh