libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

--verbose (was: Pass --quiet when $MAKEFLAGS contains `s')


From: Ralf Wildenhues
Subject: --verbose (was: Pass --quiet when $MAKEFLAGS contains `s')
Date: Wed, 12 Jan 2005 09:48:05 +0100
User-agent: Mutt/1.4.1i

* Ralf Wildenhues wrote on Wed, Jan 12, 2005 at 08:04:01AM CET:
> * Ben Elliston wrote on Wed, Jan 12, 2005 at 04:57:01AM CET:
> > 
> > Library projects that use libtool (such as libjava) are noisy, even
> > when `make -s' is used.  Although make(1) silences its command output,
> > libtool does not and you end up with as much command output as you
> > might expect from a Makefile that is executed without -s.  This little
> > patch corrects that by throwing --quiet in such circumstances.
*snip*
> 
> So you can get the same effect with
>   make -s LIBTOOLFLAGS=--silent
> 
> or you can even
>   .../configure LIBTOOLFLAGS=--silent MAKEFLAGS=-s
> 
> if your Automake is recent (for now you'll have to stick with the CVS
> version, I'm afraid).

I forgot a couple of things:
First, for the time being you can also workaround by using
  LIBTOOL='.../libtool --silent'

Second, you reminded me of the necessity for --verbose.

OK to commit this to HEAD?

Regards,
Ralf

        * config/ltmain.m4sh: New option `--verbose'/`-v' to enable
        override of `--silent'.  Verbose is the default behavior.
        * doc/libtool.texi (Invoking libtool): Document it.

Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.41
diff -u -r1.41 ltmain.m4sh
--- config/ltmain.m4sh  10 Jan 2005 15:44:13 -0000      1.41
+++ config/ltmain.m4sh  12 Jan 2005 08:46:28 -0000
@@ -39,6 +39,7 @@
 #     --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               print short or long help message
 #
@@ -482,6 +483,10 @@
                        opt_silent=:
                        ;;
 
+      --verbose| -v)   preserve_args="$preserve_args $opt"
+                       opt_silent=false
+                       ;;
+
       --tag)           test "$#" -eq 0 && func_missing_arg "$opt" && break
                        preserve_args="$preserve_args $opt $1"
                        func_enable_tag "$1"    # tagname is set here
Index: doc/libtool.texi
===================================================================
RCS file: /cvsroot/libtool/libtool/doc/libtool.texi,v
retrieving revision 1.187
diff -u -r1.187 libtool.texi
--- doc/libtool.texi    28 Dec 2004 13:13:14 -0000      1.187
+++ doc/libtool.texi    12 Jan 2005 08:46:28 -0000
@@ -1176,6 +1176,10 @@
 @itemx --silent
 Do not print out any progress or informational messages.
 
address@hidden -v
address@hidden --verbose
+Print out progress and informational messages (enabled by default).
+
 @item --version
 Print libtool version information and exit.
 @end table




reply via email to

[Prev in Thread] Current Thread [Next in Thread]