From 38df8bdf382304d8490bddf09cd33b77a49ebefb Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 20 Feb 1999 08:04:54 +0000 Subject: [PATCH] Silence libtool if `make -s' is running --- build/ltmain.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/ltmain.sh b/build/ltmain.sh index b66dcc0d9a..9dff8b17dc 100755 --- a/build/ltmain.sh +++ b/build/ltmain.sh @@ -163,6 +163,13 @@ if test -n "$prevopt"; then exit 1 fi +case "$show $MFLAGS -$MAKEFLAGS" in + :\ *) : ;; + *\ -*s*) + # Be silent inside 'make -s' + expr " $MFLAGS -$MAKEFLAGS" : '.* -[a-zA-Z]*s' >/dev/null && show=: ;; +esac + if test -z "$show_help"; then # Infer the operation mode. -- 2.39.5