summaryrefslogtreecommitdiffstats
path: root/m4/utime.m4
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:56:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:56:12 +0000
commit5fc9e0f4acbb0647b6564d091257340b4ce800f1 (patch)
tree7c2ae9ffc1d5f93f36444e153ddaed2434612f9e /m4/utime.m4
parentReleasing progress-linux version 1.21.4-1~progress7.99u1. (diff)
downloadwget-5fc9e0f4acbb0647b6564d091257340b4ce800f1.tar.xz
wget-5fc9e0f4acbb0647b6564d091257340b4ce800f1.zip
Merging upstream version 1.24.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--m4/utime.m423
1 files changed, 12 insertions, 11 deletions
diff --git a/m4/utime.m4 b/m4/utime.m4
index 4c0443a..b738e1c 100644
--- a/m4/utime.m4
+++ b/m4/utime.m4
@@ -1,5 +1,5 @@
-# utime.m4 serial 4
-dnl Copyright (C) 2017-2023 Free Software Foundation, Inc.
+# utime.m4 serial 6
+dnl Copyright (C) 2017-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_UTIME],
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CHECK_FUNCS_ONCE([lstat])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl On this platform, the original utime() or _utime() produces
dnl timestamps that are affected by the time zone.
dnl Use the function name 'rpl_utime' always, in order to avoid a
@@ -48,14 +48,15 @@ AC_DEFUN([gl_FUNC_UTIME],
[gl_cv_func_utime_file_slash=yes],
[gl_cv_func_utime_file_slash=no],
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_utime_file_slash="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_utime_file_slash="guessing yes" ;;
- # Guess no on macOS.
- darwin*) gl_cv_func_utime_file_slash="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_utime_file_slash="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems
+ # and on systems that emulate the Linux system calls.
+ linux* | midipix*) gl_cv_func_utime_file_slash="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_utime_file_slash="guessing yes" ;;
+ # Guess no on macOS.
+ darwin*) gl_cv_func_utime_file_slash="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_utime_file_slash="$gl_cross_guess_normal" ;;
esac
])
rm -f conftest.tmp conftest.lnk