From: Stefano Lattarini Date: Fri, 10 May 2013 21:29:04 +0000 (+0200) Subject: options: better name for an internal function X-Git-Tag: v1.13b~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0d4868528e29af16877568a2da664ef640b7fe;p=thirdparty%2Fautomake.git options: better name for an internal function * lib/Automake/Options.pm (_option_must_be_from_configure): Rename ... (_option_is_from_configure): ... like this. Signed-off-by: Stefano Lattarini --- diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index b6464ce52..e87fb05d1 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -246,11 +246,11 @@ Return 1 on error, 0 otherwise. =cut # $BOOL -# _option_must_be_from_configure ($OPTION, $WHERE) +# _option_is_from_configure ($OPTION, $WHERE) # ---------------------------------------------- # Check that the $OPTION given in location $WHERE is specified with # AM_INIT_AUTOMAKE, not with AUTOMAKE_OPTIONS. -sub _option_must_be_from_configure ($$) +sub _option_is_from_configure ($$) { my ($opt, $where)= @_; return 1 @@ -361,7 +361,7 @@ sub _process_option_list (\%@) elsif ($_ eq 'tar-v7' || $_ eq 'tar-ustar' || $_ eq 'tar-pax') { return 1 - unless _option_must_be_from_configure ($_, $where); + unless _option_is_from_configure ($_, $where); for my $opt ('tar-v7', 'tar-ustar', 'tar-pax') { next