libtool
[Top][All Lists]
Advanced

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

Re: libtool --silent based on MAKEFLAGS?


From: Bob Friesenhahn
Subject: Re: libtool --silent based on MAKEFLAGS?
Date: Fri, 10 Dec 2004 10:14:05 -0600 (CST)

On Fri, 10 Dec 2004, Martin Waitz wrote:

hoi :)

next request:

could libtool take a look at MAKEFLAGS and automatically use --silent
mode when 's' is included in the make flags?

At the moment I'm unconditionally using libtool --silent to make
'make -s' usable. It would be nicer if libtool would handle that
automatically.

An alternative would be to implement short options (make -s an alias
to --silent and ignore all other short options) and use
'libtool -$(MAKEFLAGS)', but I don't really like that.

As a workaround, I use this in my configure script. The default is then silent:

# Enable verbose output from libtool (enable libtool's default)
AC_ARG_ENABLE(libtool-verbose,
              [  --enable-libtool-verbose enable verbose libtool output 
(default disabled)],
              [with_libtool_verbose=$enableval],
              [with_libtool_verbose='no'])
if test "$with_libtool_verbose" = 'no'
then
  LIBTOOL="$LIBTOOL --silent"
fi



Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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