autoconf-patches
[Top][All Lists]
Advanced

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

config.status -q patch


From: Peter Eisentraut
Subject: config.status -q patch
Date: Sun, 10 Nov 2002 09:13:42 +0100 (CET)

I'd like to propose the attached patch, which does the following:
First, it adds a -q/--quiet/--silent option to config.status.  Second,
configure passes that option to config.status if it was invoked with
-q/--quiet/--silent itself (so 'configure -q' really runs quietly now).
Third, 'config.status --recheck' passes the -q option back to configure.
Finally, 'configure -q' does *not* save the -q option for 'config.status
--recheck'.  Currently, if you configure with -q once, then all
reinvokations of configure are also silent and the only way to get the
messages back is to totally reconfigure.

Since configure is usually reinvoked from a makefile, the current status
leads to inconsistencies as to who is quiet and who is not.  My idea was
that you could write something like the following into a makefile to make
configure quiet if and only if make is also quiet:

ifneq (,$(findstring s,$(MAKEFLAGS)))
CONFIG_STATUS = config.status -q
else
CONFIG_STATUS = config.status
endif


2002-11-10  Peter Eisentraut  <address@hidden>

        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
        option.  Process --recheck after parsing all options.  Pass -q
        option to configure on --recheck.
        (AC_OUTPUT): Pass -q from configure to config.status.
        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
        arguments to record.
        * doc/autoconf.texi (config.status Invocation): Document
        config.status -q option.

-- 
Peter Eisentraut   address@hidden

Attachment: acq-patch
Description: Patch


reply via email to

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