2006-10-24 Stepan Kasal * bin/autom4te.in: With --force, always refresh the output file. Problem reported by Greg Schafer . Index: bin/autom4te.in =================================================================== RCS file: /cvsroot/autoconf/autoconf/bin/autom4te.in,v retrieving revision 1.102 diff -u -r1.102 autom4te.in --- bin/autom4te.in 16 Oct 2006 20:58:44 -0000 1.102 +++ bin/autom4te.in 24 Oct 2006 15:54:41 -0000 @@ -987,7 +987,7 @@ # We now know whether we can trust the Request object. Say it. verb "the trace request object is:\n" . $req->marshall; -# We need to run M4 if (i) the users wants it (--force), (ii) $REQ is +# We need to run M4 if (i) the user wants it (--force), (ii) $REQ is # invalid. handle_m4 ($req, keys %{$req->macro}) if $force || ! $req->valid; @@ -1026,10 +1026,10 @@ } else { - # Actual M4 expansion, only if $output is too old. STDOUT is - # pretty old. + # Actual M4 expansion, if the user wants it, or if $output is old + # (STDOUT is pretty old). handle_output ($req, $output) - if mtime ($output) < mtime ($ocache . $req->id); + if $force || mtime ($output) < mtime ($ocache . $req->id); } # If we ran up to here, the cache is valid.