summaryrefslogtreecommitdiff
path: root/automake.in
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2011-10-21 00:24:38 +0200
committerPeter Rosin <peda@lysator.liu.se>2011-10-21 00:24:38 +0200
commitcc2202a6b0d5a7dc2f8af17e4ac2fdd3fe46d267 (patch)
tree0be49174b44e7b56d7986ae62f0693f6ba1c4536 /automake.in
parentc7a6a92ea100e3c78c7f48bd6a672da3ad46fc7f (diff)
downloadautomake-cc2202a6b0d5a7dc2f8af17e4ac2fdd3fe46d267.tar.gz
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>
Diffstat (limited to 'automake.in')
-rwxr-xr-xautomake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/automake.in b/automake.in
index 1d1bb15dc..9cfd9fc3e 100755
--- a/automake.in
+++ b/automake.in
@@ -2826,7 +2826,7 @@ sub handle_libraries
if (! $seen_ar)
{
- msg ('portability', $where,
+ msg ('extra-portability', $where,
"`$onelib': linking libraries using a non-POSIX\n"
. "archiver requires `AM_PROG_AR' in `$configure_ac'")
}
@@ -3070,7 +3070,7 @@ sub handle_ltlibraries
if (! $seen_ar)
{
- msg ('portability', $where,
+ msg ('extra-portability', $where,
"`$onelib': linking libtool libraries using a non-POSIX\n"
. "archiver requires `AM_PROG_AR' in `$configure_ac'")
}