From: Gary V. Vaughan Date: Wed, 24 Oct 2012 03:17:24 +0000 (-0500) Subject: bootstrap: emphasize command executions with terminal bold. X-Git-Tag: v2.4.2.418~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5c146580c21ee603458d92983d27e7af1260667;p=thirdparty%2Flibtool.git bootstrap: emphasize command executions with terminal bold. * bootstrap.in (func_show_eval): Use $require_term_colors to embolden the command about to be executed in output. * bootstrap: Regenerate. * bootstrap.conf (libtool_build_prerequisites): Use the standard (colorful!) bootstrap func_show_eval here too. Signed-off-by: Gary V. Vaughan --- diff --git a/bootstrap b/bootstrap index 1a496d61f..f9d8b9d2a 100755 --- a/bootstrap +++ b/bootstrap @@ -4240,13 +4240,15 @@ func_show_eval () { $debug_cmd + $require_term_colors + _G_cmd=$1 _G_fail_exp=${2-':'} ${opt_silent-'false'} || { func_quote_for_eval $_G_cmd eval func_truncate_cmd $func_quote_for_eval_result - func_echo "running: $func_truncate_cmd_result" + func_echo "running: $tc_bold$func_truncate_cmd_result$tc_reset" } ${opt_dry_run-'false'} || { diff --git a/bootstrap.conf b/bootstrap.conf index a4af1e6c6..ac0ac081b 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -218,14 +218,11 @@ libtool_build_prerequisites () # Building distributed files from configure is bad for automake, so we # generate them here, and have Makefile rules to keep them up to date. - func_echo "running: $MAKE bootstrap-deps ..." - $opt_dry_run || { - $MAKE bootstrap-deps \ + func_show_eval "$MAKE bootstrap-deps \ AM_DEFAULT_VERBOSITY=0 `$opt_verbose && echo V=1` \ - PACKAGE="$package" PACKAGE_BUGREPORT="$package_bugreport" \ - PACKAGE_NAME="$package_name" PACKAGE_URL="$package_url" \ - SED="$SED" srcdir=. VERSION="$package_version" - } + PACKAGE='$package' PACKAGE_BUGREPORT='$package_bugreport' \ + PACKAGE_NAME='$package_name' PACKAGE_URL='$package_url' \ + SED='$SED' srcdir=. VERSION='$package_version'" status=$? rm -f Makefile diff --git a/gl/build-aux/bootstrap.in b/gl/build-aux/bootstrap.in index 192541036..7de22fffa 100755 --- a/gl/build-aux/bootstrap.in +++ b/gl/build-aux/bootstrap.in @@ -2072,13 +2072,15 @@ func_show_eval () { $debug_cmd + $require_term_colors + _G_cmd=$1 _G_fail_exp=${2-':'} ${opt_silent-'false'} || { func_quote_for_eval $_G_cmd eval func_truncate_cmd $func_quote_for_eval_result - func_echo "running: $func_truncate_cmd_result" + func_echo "running: $tc_bold$func_truncate_cmd_result$tc_reset" } ${opt_dry_run-'false'} || {