summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-13 03:46:34 -0500
committerPavel Raiskup <praiskup@redhat.com>2016-02-19 09:50:34 +0100
commit807cbd63abbd467c220579de0b0113ec8155e697 (patch)
tree00ef2743c2ba5d08b4b3526cffbb3237a96386ea
parent40bc0628d5c8c9790164e76c9ab07ab170e2eafd (diff)
downloadlibtool-807cbd63abbd467c220579de0b0113ec8155e697.tar.gz
libtoolize: exec automake and autoconf only with --help
Same fix as applied to libtool in commit 408cfb9c5fa8a666917 to delay use of automake/autoconf to when the --help option is actually specified. * libtoolize.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. Copyright-paperwork-exempt: Yes
-rw-r--r--libtoolize.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/libtoolize.in b/libtoolize.in
index c9e52475..f7187464 100644
--- a/libtoolize.in
+++ b/libtoolize.in
@@ -94,7 +94,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
'environment' show warnings about LIBTOOLIZE_OPTIONS content
'file' show warnings about file copying and linking
@@ -120,8 +125,9 @@ 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/>.
-"
+General help using GNU software: <http://www.gnu.org/gethelp/>."
+ exit 0
+}
warning_categories='environment file'