From: Hallvard Furuseth Date: Sat, 20 Feb 1999 08:04:54 +0000 (+0000) Subject: Silence libtool if `make -s' is running X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~562 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38df8bdf382304d8490bddf09cd33b77a49ebefb;p=openldap Silence libtool if `make -s' is running --- 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.