diff options
author | Gary V. Vaughan <gary@gnu.org> | 2015-02-06 12:58:34 +0000 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2015-02-06 13:02:34 +0000 |
commit | 408cfb9c5fa8a666917167ffb806cb19deded429 (patch) | |
tree | 3fbd19e040058ba14fe5b1008e62a6a19ec4207a | |
parent | 6289a9ab3c53e2fdc48d359458604fc5b29ca00e (diff) | |
download | libtool-408cfb9c5fa8a666917167ffb806cb19deded429.tar.gz |
libtool: don't execute automake and autoconf on every invocation.
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>
-rw-r--r-- | NO-THANKS | 1 | ||||
-rw-r--r-- | build-aux/ltmain.in | 9 |
2 files changed, 9 insertions, 1 deletions
@@ -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 diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 46a0bb59..d5cf07a6 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -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 |