autoconf-patches
[Top][All Lists]
Advanced

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

Re: configure -q does not work


From: Akim Demaille
Subject: Re: configure -q does not work
Date: 24 Jan 2001 11:03:15 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

I'm checking this in.  I moved the exec after option processing since
I tried to avoid actions in there (for instance it makes it possible
someday to support ./configure --quiet --verbose etc., or ./configure
silent=yes etc.).

Question: is `to tie' really used to mean `to redirect'?


Index: ChangeLog
from  Alexandre Duret-Lutz  <address@hidden>

        configure -q did not work since 2000-11-03.

        * acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Don't check for $silent,
        tie AS_MESSAGE_FD to stdout unconditionally.
        (_AC_INIT_PARSE_ARGS): If $silent redirect AS_MESSAGE_FD to
        /dev/null.
        * tests/base.at (AC_CACHE_CHECK): New test.

Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.677
diff -u -u -r1.677 acgeneral.m4
--- acgeneral.m4 2001/01/24 08:24:44 1.677
+++ acgeneral.m4 2001/01/24 10:00:42
@@ -684,14 +684,10 @@
 # 0 standard input
 # 1 file creation
 # 2 errors and warnings
address@hidden:@ AS_MESSAGE_FD checking for... messages and results
 @%:@ AS_MESSAGE_LOG_FD compiler messages saved in config.log
-if test "$silent" = yes; then
-  exec AS_MESSAGE_FD>/dev/null
-else
-  exec AS_MESSAGE_FD>&1
-fi
address@hidden:@ AS_MESSAGE_FD checking for... messages and results
 exec AS_MESSAGE_LOG_FD>>config.log
+exec AS_MESSAGE_FD>&1
 ])# _AC_INIT_DEFAULTS_FDS
 
 
@@ -1223,6 +1219,8 @@
 
 ac_tool_prefix=
 test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec AS_MESSAGE_FD>/dev/null
 
 m4_divert_pop([PARSE_ARGS])dnl
 ])# _AC_INIT_PARSE_ARGS



reply via email to

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