summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-09-21 09:56:06 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-09-21 21:42:19 +0200
commit6ca25b1fe42c256de7838d01929e3b2b4cfb4591 (patch)
tree7959cdb439c775f9771d0db76e2c86622c4bafc1 /bin
parentbc7e12e78e027522e4e2fcd3f8b6eae7a1913e9f (diff)
downloadautoconf-6ca25b1fe42c256de7838d01929e3b2b4cfb4591.tar.gz
autoreconf: minor simplifying refactoring
* bin/autoreconf.in (run_aclocal): After the previous commit, this has become just a useless wrapper around xsystem("$aclocal .."), so get rid of it, and inline its expansion in the two places where it was used ... (autoreconf_current_directory): ... in here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/autoreconf.in14
1 files changed, 2 insertions, 12 deletions
diff --git a/bin/autoreconf.in b/bin/autoreconf.in
index d395639d..0db8dc63 100644
--- a/bin/autoreconf.in
+++ b/bin/autoreconf.in
@@ -247,16 +247,6 @@ sub parse_args ()
}
-# &run_aclocal ($ACLOCAL, $FLAGS)
-# -------------------------------
-# Update aclocal.m4 as lazily as possible.
-sub run_aclocal ($$)
-{
- my ($aclocal, $flags) = @_;
-
- xsystem ("$aclocal $flags");
-}
-
# &autoreconf_current_directory
# -----------------------------
sub autoreconf_current_directory ()
@@ -377,7 +367,7 @@ sub autoreconf_current_directory ()
# fall.
sleep 1;
- run_aclocal ($aclocal, $aclocal_flags);
+ xsystem ("$aclocal $aclocal_flags");
}
# We might have to rerun aclocal if Libtool (or others) imports new
@@ -511,7 +501,7 @@ sub autoreconf_current_directory ()
}
else
{
- run_aclocal ($aclocal, $aclocal_flags);
+ xsystem ("$aclocal $aclocal_flags");
}
}