]> git.ipfire.org Git - thirdparty/automake.git/commit
Warnings win over strictness in AUTOMAKE_OPTIONS.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 20 Dec 2010 17:29:50 +0000 (18:29 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 15 Jan 2011 14:27:16 +0000 (15:27 +0100)
commit1609491e95df66d8119ada02eeeb4070ca3a9a28
tree04b2f6f8dc28f8908cb675b6a5b8a306116a3501
parentf90a06c1eb001d03366b3bd50699d0672ca2cbdb
Warnings win over strictness in AUTOMAKE_OPTIONS.

Ensure that, for what concerns the options specified in
AUTOMAKE_OPTIONS, explicitly-defined warnings always take
precedence over implicit strictness-implied warnings.

This finally fixes Automake bug#7669 a.k.a. PR/547.

* automake.in (handle_options): Call 'process_option_list'
only once per set of options.
* lib/Automake/Options.pm (process_global_option_list,
process_option_list): Add sanity checks.
($_options_processed, $_global_options_processed): New
internal variables, used by the sanity checks above.
* tests/warnings-win-over-strictness.test: Extend.
ChangeLog
automake.in
lib/Automake/Options.pm
tests/warnings-win-over-strictness.test