diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-10 23:29:04 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-10 23:47:21 +0200 |
commit | 9a0d4868528e29af16877568a2da664ef640b7fe (patch) | |
tree | d52d82d2147f44f3be2a1fdc420301aa2a1386b1 /lib/Automake/Options.pm | |
parent | 117ddf8d25420691edbd065a85f64cd8a283e1c0 (diff) | |
download | automake-9a0d4868528e29af16877568a2da664ef640b7fe.tar.gz |
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib/Automake/Options.pm')
-rw-r--r-- | lib/Automake/Options.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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 |