mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
* bin/autom4te.in: With --force, always refresh the output
file.
This commit is contained in:
parent
bc2af5fe6a
commit
1a02d1057d
@ -1,3 +1,8 @@
|
||||
2006-10-24 Stepan Kasal <kasal@ucw.cz>
|
||||
|
||||
* bin/autom4te.in: With --force, always refresh the output
|
||||
file.
|
||||
|
||||
2006-10-24 Stepan Kasal <kasal@ucw.cz>
|
||||
|
||||
* bin/autoconf.as: Fix the verbose message at the end.
|
||||
|
@ -987,7 +987,7 @@ $req->valid (0)
|
||||
# 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 @@ if (%trace)
|
||||
}
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user