]> git.ipfire.org Git - thirdparty/automake.git/commit
automake: omit 1s test in _AM_FILESYSTEM_TIMESTAMP_RESOLUTION, for speed.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Jun 2024 22:38:11 +0000 (15:38 -0700)
committerKarl Berry <karl@freefriends.org>
Mon, 17 Jun 2024 22:38:11 +0000 (15:38 -0700)
commitfad36f78a34cd20af0e0dc185a350a315e2aca0d
treecbca6e6d61d0d35e93270d9affa604f18edfb646
parent6cb69ad8c3e7717876c5c8b43f6ef137b58ccfc3
automake: omit 1s test in _AM_FILESYSTEM_TIMESTAMP_RESOLUTION, for speed.

From https://lists.gnu.org/archive/html/automake/2024-06/msg00055.html
plus https://lists.gnu.org/archive/html/automake/2024-06/msg00054.html.

* m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): Don't test
whether 1 sec works; instead just accept the 2 sec delay in the
Automake test $sleep in exchange for not incurring the 2s delay of
running the test for all packages on 1s-resolution platforms.
Platforms that support subsecond mtimes will still use them.
m4/sanity.m4