From: Stefano Lattarini Date: Fri, 10 May 2013 20:34:21 +0000 (+0200) Subject: options: re-enable some sanity checks X-Git-Tag: v1.13b~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b636268a12d1a0fdee3eb4ac0f8e9a1eaf45da80;p=platform%2Fupstream%2Fautomake.git options: re-enable some sanity checks They had been unwittingly disabled by a slightly incorrect code ordering. * lib/Automake/Options.pm (process_option_list): Here. (process_global_option_list): And here. Signed-off-by: Stefano Lattarini --- diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index 737d2a1..bcbfd17 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -402,16 +402,16 @@ sub process_option_list (@) { prog_error "local options already processed" if $_options_processed; - return _process_option_list (%_options, @_); $_options_processed = 1; + return _process_option_list (%_options, @_); } sub process_global_option_list (@) { prog_error "global options already processed" if $_global_options_processed; - return _process_option_list (%_global_options, @_); $_global_options_processed = 1; + return _process_option_list (%_global_options, @_); } =item C