+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.
# 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;
}
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.