init: obsolete usages of AM_INIT_AUTOMAKE not supported anymore
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 19 May 2012 09:47:26 +0000 (11:47 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 25 May 2012 12:46:05 +0000 (14:46 +0200)
commite186355f246be84a48c1113dc528d689c1d4b717
treebf8b7739b69570b68902ef3eec05ec66041bd6d3
parent27136dfe02926ac596c853fced7c17825ef3cf68
init: obsolete usages of AM_INIT_AUTOMAKE not supported anymore

This is a follow-up on commit v1.12-66-g27136df of 2012-05-06, "init: warn
against obsolete usage of AM_INIT_AUTOMAKE".

With this change, we drop support for the two-arguments and three-arguments
invocation forms of the AM_INIT_AUTOMAKE macro, as in either of:
    AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
    AM_INIT_AUTOMAKE($PACKAGE, $VERSION, NODEFINE)

* NEWS, doc/automake.texi: Update.
* m4/init.m4 (AM_INIT_AUTOMAKE): Report the two- and three-arguments
invocation form as a hard error.
* t/aminit-moreargs-deprecation.sh: Renamed ...
* t/aminit-moreargs-deprecation.sh: ... to this, and updated to check
the new semantics.
* t/ac-output-old.tap: Adjust by avoiding old-style uses of AC_INIT
and AM_INIT_AUTOMAKE.
* t/acsilent.sh: Likewise.
* t/dirlist.sh: Likewise.
* t/dirlist2.sh: Likewise.
* t/req.sh: Likewise.
* t/nodef.sh: Remove as obsolete.
* t/version.sh: Likewise.
* t/version2.sh: Likewise.
* t/backcompat.sh: Likewise.
* t/backcompat2.sh: Likewise.
* t/backcompat3.sh: Likewise.
* t/backcompat5.sh: Likewise.
* t/backcompat4.sh: Renamed ...
* t/backcompat-acout.sh: ... to this.
* t/list-of-tests.mk: Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
19 files changed:
NEWS
doc/automake.texi
m4/init.m4
t/ac-output-old.tap
t/acsilent.sh
t/aminit-moreargs-no-more.sh [moved from t/aminit-moreargs-deprecation.sh with 73% similarity]
t/backcompat-acout.sh [moved from t/backcompat4.sh with 100% similarity]
t/backcompat.sh [deleted file]
t/backcompat2.sh [deleted file]
t/backcompat3.sh [deleted file]
t/backcompat5.sh [deleted file]
t/backcompat6.sh [deleted file]
t/dirlist.sh
t/dirlist2.sh
t/list-of-tests.mk
t/nodef.sh [deleted file]
t/req.sh
t/version.sh [deleted file]
t/version2.sh [deleted file]