summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-10 23:29:04 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-10 23:47:21 +0200
commit9a0d4868528e29af16877568a2da664ef640b7fe (patch)
treed52d82d2147f44f3be2a1fdc420301aa2a1386b1 /lib
parent117ddf8d25420691edbd065a85f64cd8a283e1c0 (diff)
downloadautomake-9a0d4868528e29af16877568a2da664ef640b7fe.tar.gz
automake-9a0d4868528e29af16877568a2da664ef640b7fe.tar.bz2
automake-9a0d4868528e29af16877568a2da664ef640b7fe.zip
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')
-rw-r--r--lib/Automake/Options.pm6
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