* libltdl/config/ltmain.m4sh (usage): Document new --no-silent/--no-quiet options. Spacing changes. (func_enable_tag): Handle --no-silent/--no-quiet options. Modified --verbose to actually activate opt_verbose. New behavior: --silent disables both "normal" output and func_verbose output. --verbose enables both "normal" output and func_verbose output. --no-silent enables "normal" output, but does not affect func_verbose output. --- The first of several smaller patches broken out of my original "[PATCH] [cygwin|mingw] fix dlpreopen with --disable-static" one: http://lists.gnu.org/archive/html/libtool-patches/2008-11/msg00019.html
Test suite results (cygwin): Fails old test demo-exec after demo-shared (this is the failure my larger patch in the referenced message fixed). In the new testsuite, fails 25, 74 (which is not a regression on cygwin). Okay to push? libltdl/config/ltmain.m4sh | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index db0ea67..3b8f05b 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -33,17 +33,18 @@ m4_divert_push([SCRIPT])# @configure_input@ # # Provide generalized library-building support services. # -# --config show all configuration variables -# --debug enable verbose shell tracing -# -n, --dry-run display commands without modifying any files -# --features display basic configuration information and exit -# --mode=MODE use operation mode MODE -# --preserve-dup-deps don't remove duplicate dependency libraries -# --quiet, --silent don't print informational messages -# --tag=TAG use configuration variables from tag TAG -# -v, --verbose print informational messages (default) -# --version print version information -# -h, --help, --help-all print short, long, or detailed help message +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information, exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent print informational messages (default) +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message # # MODE must be one of the following: # @@ -319,10 +320,17 @@ func_enable_tag () --quiet|--silent) preserve_args="$preserve_args $opt" opt_silent=: + opt_verbose=false + ;; + + --no-quiet|--no-silent) + preserve_args="$preserve_args $opt" + opt_silent=false ;; --verbose| -v) preserve_args="$preserve_args $opt" opt_silent=false + opt_verbose=: ;; --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break -- 1.6.0.2