]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] vars: don't warn about non-POSIX names or GNU make function calls
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Jan 2012 13:22:38 +0000 (14:22 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Jan 2012 14:25:07 +0000 (15:25 +0100)
commit9a82dcd6c44fc348cfd9bb7cc1c1c3a38a807d9c
tree2b9e567fd5ba7024b32263f51ffa963d8609c3e2
parentdb988007c591f975c65905abc306a5f200ca2356
[ng] vars: don't warn about non-POSIX names or GNU make function calls

This change has the collateral effect of making the warning
category 'portability-recursive' obsolete.

* doc/automake.texi: Adjust and update.
* lib/Automake/ChannelDefs.pm: Don't register the warning channel
'portability-recursive' anymore.
(switch_warning): Don't handle 'portability-recursive' category
anymore.  Related simplifications.
* lib/Automake/Variable.pm ($_VARIABLE_CHARACTERS): Remove.
($_VARIABLE_PATTERN): Likewise.
($_VARIABLE_RECURSIVE_PATTERN): Likewise.
(check_variable_expansions): Likewise.
(define): Don't call it.
* automake.in (read_am_file): Likewise.
(handle_options): Don't try to set/unset warnings in the category
'portability-recursive'.
* tests/test-driver-custom-xfail-tests.test: Remove now redundant
use of '-Wno-portability-recursive' in AUTOMAKE_OPTIONS.
* tests/canon.test: Adjust grepping of automake stderr.
* tests/canon5.test: Likewise.
* tests/silent6.test: Remove checks dealing with enabling/disabling
of 'portability-recursive' warnings.
* tests/gmake-vars.test: New test.
* tests/vars3.test: Remove as obsolete.
* tests/silent-nowarn.test: Likewise.
* tests/dollarvar.test: Likewise.
* tests/dollarvar2.test: Likewise.
* tests/extra-portability3.test: Likewise.
* tests/doc-parsing-buglets-colneq-subst.test: Remove as redundant.
* tests/list-of-tests.mk: Update.
16 files changed:
automake.in
doc/automake.texi
lib/Automake/ChannelDefs.pm
lib/Automake/Variable.pm
tests/canon.test
tests/canon5.test
tests/doc-parsing-buglets-colneq-subst.test [deleted file]
tests/dollarvar.test [deleted file]
tests/dollarvar2.test [deleted file]
tests/extra-portability3.test [deleted file]
tests/gmake-vars.test [new file with mode: 0755]
tests/list-of-tests.mk
tests/silent-nowarn.test [deleted file]
tests/silent6.test
tests/test-driver-custom-xfail-tests.test
tests/vars3.test [deleted file]