Re: 1.16.90 regression: configure now takes 7 seconds to start
Bruno Haible <[email protected]> Tue, 18 Jun 2024 01:18:39 +0200
| Newsgroups | gmane.comp.sysutils.automake.general |
|---|---|
| Message-ID | <6101133.ElGaqSPkdT@nimes> |
Nick Bowler wrote:
> while ${MAKE-make} -f conftest.mk >/dev/null 2>&1
> do
> touch config.status
> done])
I would use 'echo >> config.status' instead of 'touch config.status'.
Rationale: When the user is working in an NFS file system mount,
and there is a clock skew between the current machine and the NFS
server (of, say, N seconds), the "touch" command creates a time
stamp on config.status that is off by N seconds from all other
files that are regularly written (via open/fopen and close/fclose)
into that directory. Since some Makefile rules depend on config.status,
it will cause trouble when "make" is run.
Bruno