* libltdl/config/ltmain.m4sh (usage): Document
new options --no-silent/--no-quiet and --no-verbose.
(func_enable_tag): Handle new 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.
--no-verbose disables func_verbose output, but does not
affect "normal" output.
* NEWS: announce new options --no-silent/--no-quiet, and
--no-verbose.
* doc/libtool.texi: document new options --no-silent/--no-quiet
and --no-verbose.
---
As pushed (ChangeLog portion of patch below edited for archives).

--
Chuck



 ChangeLog                  |   19 +++++++++++++++++++
 NEWS                       |    9 +++++++++
 doc/libtool.texi           |   39 ++++++++++++++++++++++++++++++++++++++-
 libltdl/config/ltmain.m4sh |   16 +++++++++++++++-
 4 files changed, 81 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b1582fd..cd1b1fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2008-11-21  Charles Wilson <...>
+
+       Fix --verbose option; add new --no-{silent|quiet|verbose} options.
+
+       * libltdl/config/ltmain.m4sh (usage): Document
+       new options --no-silent/--no-quiet and --no-verbose.
+       (func_enable_tag): Handle new 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.
+       --no-verbose disables func_verbose output, but does not
+       affect "normal" output.
+       * NEWS: announce new options --no-silent/--no-quiet, and
+       --no-verbose.
+       * doc/libtool.texi: document new options --no-silent/--no-quiet
+       and --no-verbose.
+
 2008-11-20  Ralf Wildenhues  <...>
 
        Fix match patterns for cegcc*.
diff --git a/NEWS b/NEWS
index a38bfb3..c00e404 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,12 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
 
   - Libtool ships and installs man pages for libtool and libtoolize now.
   - New libtool command line flag --help-all.
+  - New libtool command line flag --no-silent (with alternate spelling
+    --no-quiet). This flag (re)enables the default informational messages,
+    but has no effect on so-called "verbose" output messages.
+  - New libtool command line flag --no-verbose, which disables only
+    the extra "verbose" output messages and has no effect on the
+    default informational messages.
 
 * Bug fixes:
 
@@ -13,6 +19,9 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
     with Autoconf 2.59 (`possibly undefined macro: LT_LIBEXT').
   - Fix 2.2.4 regression that caused arguments with special characters
     to be mangled by the compile wrapper for uninstalled programs on MinGW.
+  - libtool command line flag --verbose now also enables explicit
+    verbose output, in addition to its previous behavior of (re)enabling
+    only the default informational output. See New Features, --no-silent.
 
 * Miscellaneous changes:
 
diff --git a/doc/libtool.texi b/doc/libtool.texi
index f03adfb..fe9547e 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1207,7 +1207,44 @@ Do not print out any progress or informational messages.
 
 @item -v
 @itemx --verbose
-Print out progress and informational messages (enabled by default).
+Print out progress and informational messages (enabled by default),
+as well as additional messages not ordinary seen by default.
+
[EMAIL PROTECTED] --no-quiet
[EMAIL PROTECTED] --no-silent
+Print out the progress and informational messages that are seen
+by default. This option has no effect on whether the additional
+messages seen in @option{--verbose} mode are shown.
+
[EMAIL PROTECTED] --no-verbose
+Do not print out any additional informational messages beyond
+those ordinarily seen by default. This option has no effect
+on whether the ordinary progress and informational messages
+enabled by @option{--no-quiet} are shown.
+
+Thus, there are now three different message levels (not counting
[EMAIL PROTECTED]), depending on whether the normal messages and/or
+the additional verbose messages are displayed.  Note that there is
+no mechanism to diplay verbose messages, without also displaying
+normal messages.
+
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] default
+Normal messages are displayed, verbose messages are not displayed.
+In addition to being the default mode, it can be forcibly achieved
+by using both option @option{--no-verbose} and either option
[EMAIL PROTECTED] or option @option{--no-quiet}.
+
[EMAIL PROTECTED] silent
+Neither normal messages nor verbose messages are displayed. This
+mode can be achieved using either option @option{--silent} or
+option @option{--quiet}.
+
[EMAIL PROTECTED] verbose
+Both normal messages and verbose messages are displayed. This mode
+can be achieved using either option @option{-v} or option
[EMAIL PROTECTED]
[EMAIL PROTECTED] table
 
 @item --version
 Print libtool version information and exit.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 7b11e96..676955a 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -40,8 +40,11 @@ m4_divert_push([SCRIPT])# @configure_input@
 #       --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 informational messages (default)
+#   -v, --verbose            print more informational messages than default
+#       --no-verbose         don't print the extra informational messages
 #       --version            print version information
 #   -h, --help, --help-all   print short, long, or detailed help message
 #
@@ -319,10 +322,21 @@ 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=:
+                       ;;
+
+      --no-verbose)    preserve_args="$preserve_args $opt"
+                       opt_verbose=false
                        ;;
 
       --tag)           test "$#" -eq 0 && func_missing_arg "$opt" && break
-- 
1.6.0.4



Reply via email to