From 1f57e67d51db6d3c95fa16aa9cc5475ede139f3d Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 4 Aug 1999 03:42:31 +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 ae10cad021..674ef0fa9d 100755 --- a/build/ltmain.sh +++ b/build/ltmain.sh @@ -207,6 +207,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