warnings: new 'extra-portability' category, for AM_PROG_AR
commitcc2202a6b0d5a7dc2f8af17e4ac2fdd3fe46d267
authorPeter Rosin <peda@lysator.liu.se>
Thu, 20 Oct 2011 22:24:38 +0000 (21 00:24 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Thu, 20 Oct 2011 22:24:38 +0000 (21 00:24 +0200)
tree0be49174b44e7b56d7986ae62f0693f6ba1c4536
parentc7a6a92ea100e3c78c7f48bd6a672da3ad46fc7f
warnings: new 'extra-portability' category, for AM_PROG_AR

* lib/Automake/ChannelDefs.pm: Register new extra-portability
warning channel.
(switch_warning): Turn off extra-portability if portability is
turned off, and turn on portability if extra-portability is
turned on.
(set_strictness): Silence extra-portability for --gnits, --gnu
and --foreign.
* tests/extra-portability2.test: New test, checking that the
extra-portability channel is silenced by --gnits, --gnu and
--foreign.
* doc/automake.texi (Invoking Automake): Document the new warning
category and its interaction with the portability category.
* tests/extra-portability.test: New test, checking the interaction
between the portability and extra-portability warning categories.
* automake.in (handle_libraries, handle_ltlibraries): Move the
AM_PROG_AR warnings to the new extra-portability channel.
* tests/ar2.test: Adjust to the new warning channel.
* tests/pr300-lib.test: Likewise.
* tests/pr300-ltlib.test: Likewise.
* tests/pr307.test: Likewise.
* tests/pr401.test: Likewise.
* tests/pr401b.test: Likewise.
* tests/pr401c.test: Likewise.
* tests/pr72.test: Likewise.
* NEWS: Likewise.
* tests/Makefile.am (TESTS): Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
17 files changed:
ChangeLog
NEWS
automake.in
doc/automake.texi
lib/Automake/ChannelDefs.pm
tests/Makefile.am
tests/Makefile.in
tests/ar2.test
tests/extra-portability.test [new file with mode: 0755]
tests/extra-portability2.test [copied from tests/ar2.test with 65% similarity]
tests/pr300-lib.test
tests/pr300-ltlib.test
tests/pr307.test
tests/pr401.test
tests/pr401b.test
tests/pr401c.test
tests/pr72.test