[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make -s
From: |
Richard Hacker |
Subject: |
Re: make -s |
Date: |
Thu, 10 Jan 2008 13:39:31 +0100 |
User-agent: |
KMail/1.9.5 |
On Thursday 10 January 2008 08:29, Ralf Wildenhues wrote:
> For whatever output is left done by libtool I expect that whoever want's
> it silenced hard enough will have enough motivation to send a patch to
> <address@hidden>.
That shouldn't bee too difficult.
As a hint, make adds 's' to the environment variable MAKEFLAGS:
MAKEFLAGS=s
MFLAGS=-s also exists, but its use seems to be superceded by MAKEFLAGS
When I change ltmain.sh using the following patch, it seems to work. I am
using
# libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
I hope this patch is portable.... I am certainly no expert in portability!
================ patch start ================================
--- old/ltmain.sh 2006-11-25 12:34:55.000000000 +0100
+++ /usr/share/libtool/ltmain.sh 2008-01-10 13:28:59.000000000 +0100
@@ -384,6 +384,15 @@
done
func_extract_archives_result="$my_oldobjs"
}
+
+func_is_make_silent ()
+{
+ case $1 in
+ *s*) true;;
+ *) false;;
+ esac
+}
+
# End of Shell function definitions
#####################################
@@ -392,6 +401,12 @@
disable_libs=no
+if func_is_make_silent "$MAKEFLAGS"
+then
+ show=:
+ preserve_args="$preserve_args $arg"
+fi
+
# Parse our command line options once, thoroughly.
while test "$#" -gt 0
do
================ patch end ================================
- Richard
- make -s, Bob Rossi, 2008/01/09
- Re: make -s, Ralf Wildenhues, 2008/01/09
- Re: make -s, Mike Frysinger, 2008/01/09
- Re: make -s, Ralf Wildenhues, 2008/01/10
- Re: make -s,
Richard Hacker <=
- Re: make -s, Ralf Wildenhues, 2008/01/10
- Re: make -s, Mike Frysinger, 2008/01/10
- Re: make -s, Ralf Wildenhues, 2008/01/10
- Re: make -s, Bob Rossi, 2008/01/10
- Re: make -s, Peter O'Gorman, 2008/01/10
- Re: make -s, Bob Friesenhahn, 2008/01/10
- Re: make -s, Mike Frysinger, 2008/01/10
- Re: make -s, Bob Rossi, 2008/01/10
- Re: make -s, Richard Hacker, 2008/01/11
- Re: make -s, Ralf Wildenhues, 2008/01/13