libtool-patches
[Top][All Lists]
Advanced

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

[PATCH]: libtool-1.9f: Added option "quiet" - only errors and warnings g


From: Juergen Leising
Subject: [PATCH]: libtool-1.9f: Added option "quiet" - only errors and warnings go through, now
Date: Tue, 19 Jul 2005 23:02:34 +0200
User-agent: Mutt/1.4.2.1i

Hello everybody,

I'd like to present a patch for libtool-1.9f, that introduces the
"quiet" option, as, for example, in configure.ac:

                        LT_INIT([dlopen quiet])

Additionally, the patch adjusts the output behaviour of libtool a
little bit to what is usual in make/automake. That means, if I type in "make
-s", only warnings and errors are displayed, and any informational output,
such as all those gcc options, is suppressed. 

This is quite useful, if you want/have to debug buggy software, because this 
way 
it is optically easier to focus on all the warnings about sloppy source code.

Opposedly to what is already contained in ltmain.sh, I do not
make a difference between whether or not we have already compiled a pic object.
Instead, my "quiet" redirects every output, that would have been sent to 
stdout, 
to /dev/null. And everything, that is sent to stderr, keeps its way and still
gets through to the screen, for instance.

Affected files are:     ltmain.sh  (VERSION=1.9f, package_revision=1.1667.2.43)
                        ltoptions.m4

I'm sure I am not the first one who has dealt with that problem, 
as more and more people are unhappy with too much make output. 
But I couldn't find a solution in google, and after all, writing that
simple patch on my own was faster than searching for hours.

Have fun with it,

bye, bye,

Juergen

-- 
***********************************************************
                http://www.8ung.at/leising/             
                http://leising.freeshell.org/        
*********************************************************** 

Attachment: ltoptions.m4.diff
Description: Text document

Attachment: ltmain.sh.diff
Description: Text document


reply via email to

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