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
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen


_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to