[Top][All Lists]

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

Re: autoconf 2.59 --quiet bug: "updating cache CACHEFILE" still printed

From: Noah Misch
Subject: Re: autoconf 2.59 --quiet bug: "updating cache CACHEFILE" still printed
Date: Sun, 2 Apr 2006 12:10:09 -0700
User-agent: Mutt/1.5.6i

On Tue, Apr 05, 2005 at 08:46:59PM +0200, Matthias Andree wrote:
> When using autoconf 2.59 to create a configuration file from a
> configure.ac that contains AC_CACHE_SAVE (for instance),
> ./configure --quiet still prints "updating cache config.cache".

Thanks for this report, and I am sorry for the remarkably late response.

This patch fixes the problem.  It has a few side-effects: the message will now
have a `configure: ' prefix, and it will go to `config.log' as well.

autoconf-patches: ok?

2006-04-02  Noah Misch  <address@hidden>

        * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.

diff -urp -X dontdiff ac-clean/lib/autoconf/general.m4 
--- ac-clean/lib/autoconf/general.m4    2006-04-02 11:27:39.000000000 -0400
+++ ac-cache_msg/lib/autoconf/general.m4        2006-04-02 15:02:10.000000000 
@@ -1862,10 +1862,11 @@ _AC_CACHE_DUMP() |
      :end'] >>confcache
 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   if test -w $cache_file; then
-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+    test "x$cache_file" != "x/dev/null" &&
+      AC_MSG_NOTICE([updating cache $cache_file])
     cat confcache >$cache_file
-    echo "not updating unwritable cache $cache_file"
+    AC_MSG_NOTICE([not updating unwritable cache $cache_file])
 rm -f confcache[]dnl

reply via email to

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