]> git.ipfire.org Git - thirdparty/automake.git/commit
test: check that subsecond mtime works with make.
authorKarl Berry <karl@freefriends.org>
Mon, 27 May 2024 19:34:35 +0000 (12:34 -0700)
committerKarl Berry <karl@freefriends.org>
Mon, 27 May 2024 19:34:35 +0000 (12:34 -0700)
commit23e69f6e6d29b0f9aa5aa3aab2464b3cf38a59bf
treebcc9bb440a7849ba9f791dc44551aae23bbab723
parentb5b6f240d9fceb40fbd4a7c958480bf971ed2608
test: check that subsecond mtime works with make.

Trying to fix https://bugs.gnu.org/68808.

* m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): check
that make works with subsecond mtimes, as well as sleep and ls.
(Known to fail with the make 3.81 that ships with macOS.)
* configure.ac (MTIME_RESOLUTION): notice if it erroneously
expands to the empty string, i.e., fall back to 1 if
$am_cv_filesystem_timestamp_resolution ended up being unset.
* t/ax/test-defs.in (MTIME_RESOLUTION): also fall back to 1
if the variable to not set, with a message.
Fix other typos en passant.
* HACKING: tweak.
HACKING
configure.ac
m4/sanity.m4
t/ax/test-defs.in