]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: don't execute automake and autoconf on every invocation.
authorGary V. Vaughan <gary@gnu.org>
Fri, 6 Feb 2015 12:58:34 +0000 (12:58 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 6 Feb 2015 13:02:34 +0000 (13:02 +0000)
Regression from 2.4.2 was causing noticable slow-down in builds
that call libtool many times.
* build-aux/ltmain.in (func_help): Override func_help() from
gl/build-aux/options-parser to only run automake --version and
autoconf --version when libtool --help is executed on the command
line.
* NO-THANKS: Add Robert Yang.
Reported by Robert Yang

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
NO-THANKS
build-aux/ltmain.in

index 7f592768e4c65a2a3adba04fa1a178f44e43d223..10de16b4ea6adde4904ae1b98a0ea761b89849b4 100644 (file)
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -126,6 +126,7 @@ Richard B. Kreckel          kreckel@ginac.de
 Richard Purdie                 rpurdie@rpsys.net
 Robert Garron                  Robert.Garron@Access3000.net
 Robert Ă–gren                  lists@roboros.com
+Robert Yang                    liezhi.yang@windriver.com
 Roberto Bagnara                        bagnara@cs.unipr.it
 Roland Mainz                   roland.mainz@nrubsig.org
 Rudolf Leitgeb                 r.leitgeb@x-pin.com
index 46a0bb591f66765be2c09840b322369e7a5f8be4..d5cf07a63f5994a160519997d973aabd33a352fc 100644 (file)
@@ -127,7 +127,12 @@ usage_message="Options:
 "
 
 # Additional text appended to 'usage_message' in response to '--help'.
-long_help_message=$long_help_message"
+func_help ()
+{
+    $debug_cmd
+
+    func_usage_message
+    $ECHO "$long_help_message
 
 MODE must be one of the following:
 
@@ -158,6 +163,8 @@ include the following information:
 Report bugs to <@PACKAGE_BUGREPORT@>.
 GNU @PACKAGE@ home page: <@PACKAGE_URL@>.
 General help using GNU software: <http://www.gnu.org/gethelp/>."
+    exit 0
+}
 
 
 # func_lo2o OBJECT-NAME