[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] autoreconf: minor simplifying refactoring
From: |
Stefano Lattarini |
Subject: |
[PATCH 2/3] autoreconf: minor simplifying refactoring |
Date: |
Fri, 21 Sep 2012 10:10:42 +0200 |
* 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 <address@hidden>
---
bin/autoreconf.in | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/bin/autoreconf.in b/bin/autoreconf.in
index 8ae5c87..ffb72af 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");
}
}
--
1.7.12.317.g1c54b74