[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: doc: references for non-fractio
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: doc: references for non-fractional timestamps. |
Date: |
Wed, 01 Nov 2023 21:03:46 -0400 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=581e0ae40ffeb3702e04825bdfe71e4492eafd6f
The following commit(s) were added to refs/heads/master by this push:
new 581e0ae40 doc: references for non-fractional timestamps.
581e0ae40 is described below
commit 581e0ae40ffeb3702e04825bdfe71e4492eafd6f
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Wed Nov 1 18:03:36 2023 -0700
doc: references for non-fractional timestamps.
The non-fractional fix from Bogdan fixes
https://bugs.gnu.org/64756, discussed earlier in a long thread on
automake in 2023-03 and 2023-04; references in the bug.
Jacob Bachmeyer contributed to the analysis and fixes.
* m4/sanity.m4:
---
m4/sanity.m4 | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/m4/sanity.m4 b/m4/sanity.m4
index 445d1fb80..dbc8d9fdb 100644
--- a/m4/sanity.m4
+++ b/m4/sanity.m4
@@ -15,9 +15,9 @@ AS_IF([sleep 0.001 2>/dev/null],
[am_cv_sleep_fractional_seconds=true], [am_cv_s
# _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
# -----------------------------------
-# Determine the filesystem timestamp resolution. Modern systems are nanosecond
-# capable, but historical systems could have millisecond, second, or even
-# 2-second resolution.
+# Determine the filesystem timestamp resolution. Modern systems are
+# nanosecond capable, but historical systems could have millisecond,
+# second, or even 2-second resolution.
AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
#
@@ -27,8 +27,11 @@ AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
# More info: long thread around
# https://lists.gnu.org/archive/html/automake/2023-04/msg00002.html
# and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64756.
+# By the way, we cannot use Perl to see if %INC{q[Time/HiRes.pm]} is
+# defined, because Time::HiRes might get pulled in from other system
+# modules even when not used directly. (An idea suggested in that thread.)
AC_PATH_PROG([AUTOM4TE], [autom4te])
-if test x"$autom4te_perllibdir" = x; then
+if test x"$autom4te_perllibdir = x; then
autom4te_perllibdir=`sed -n \
'/autom4te_perllibdir/{s/^.*|| //;s/;$//;s/^.//;s/.$//;p;q}' <$AUTOM4TE`
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: doc: references for non-fractional timestamps.,
Karl Berry <=