options: tiny simplification in dealing with incompatible versions
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 11 May 2013 08:25:33 +0000 (10:25 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 11 May 2013 08:35:27 +0000 (10:35 +0200)
commitf233bf8f277775f37b7dd4559af237d129231cbb
treeb3722e4ad0cf7565da899e69de77bb5918f43823
parent9f21b55d38e8983090ce169969a2f8f1f6645583
options: tiny simplification in dealing with incompatible versions

* lib/Automake/Options.pm (_process_option_list): Here, when an
incompatible version number option is detected, there's no need
to call error() with the "uniq_scope => US_GLOBAL" switch.
In fact, if the same incompatible version number is specified in
AUTOMAKE_OPTIONS in both (say) 'Makefile.am' and 'sub/Makefile.am',
we want each such erroneous usage reported separately, rather than
just the first time it is encountered (as we'd expect to happen
when "uniq_scope => US_GLOBAL" is used).
Ideally, this change should have been folded into the similar
commit 'v1.13.1d-129-gf7ef16f', but we noticed that too late.
Oh well.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/Automake/Options.pm