diff options
Diffstat (limited to 'gl/m4/mktime.m4')
-rw-r--r-- | gl/m4/mktime.m4 | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gl/m4/mktime.m4 b/gl/m4/mktime.m4 index e9d31f3..85c5245 100644 --- a/gl/m4/mktime.m4 +++ b/gl/m4/mktime.m4 | |||
@@ -1,6 +1,6 @@ | |||
1 | # serial 37 | 1 | # mktime.m4 |
2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2023 Free Software Foundation, | 2 | # serial 39 |
3 | dnl Inc. | 3 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2024 Free Software Foundation, Inc. |
4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
@@ -264,9 +264,9 @@ main () | |||
264 | [gl_cv_func_working_mktime=yes], | 264 | [gl_cv_func_working_mktime=yes], |
265 | [gl_cv_func_working_mktime=no], | 265 | [gl_cv_func_working_mktime=no], |
266 | [case "$host_os" in | 266 | [case "$host_os" in |
267 | # Guess no on native Windows. | 267 | # Guess no on native Windows. |
268 | mingw*) gl_cv_func_working_mktime="guessing no" ;; | 268 | mingw* | windows*) gl_cv_func_working_mktime="guessing no" ;; |
269 | *) gl_cv_func_working_mktime="$gl_cross_guess_normal" ;; | 269 | *) gl_cv_func_working_mktime="$gl_cross_guess_normal" ;; |
270 | esac | 270 | esac |
271 | ]) | 271 | ]) |
272 | fi | 272 | fi |
@@ -280,7 +280,6 @@ AC_DEFUN([gl_FUNC_MKTIME], | |||
280 | AC_REQUIRE([AC_CANONICAL_HOST]) | 280 | AC_REQUIRE([AC_CANONICAL_HOST]) |
281 | AC_REQUIRE([gl_FUNC_MKTIME_WORKS]) | 281 | AC_REQUIRE([gl_FUNC_MKTIME_WORKS]) |
282 | 282 | ||
283 | REPLACE_MKTIME=0 | ||
284 | if test "$gl_cv_func_working_mktime" != yes; then | 283 | if test "$gl_cv_func_working_mktime" != yes; then |
285 | REPLACE_MKTIME=1 | 284 | REPLACE_MKTIME=1 |
286 | AC_DEFINE([NEED_MKTIME_WORKING], [1], | 285 | AC_DEFINE([NEED_MKTIME_WORKING], [1], |
@@ -288,7 +287,7 @@ AC_DEFUN([gl_FUNC_MKTIME], | |||
288 | with the algorithmic workarounds.]) | 287 | with the algorithmic workarounds.]) |
289 | fi | 288 | fi |
290 | case "$host_os" in | 289 | case "$host_os" in |
291 | mingw*) | 290 | mingw* | windows*) |
292 | REPLACE_MKTIME=1 | 291 | REPLACE_MKTIME=1 |
293 | AC_DEFINE([NEED_MKTIME_WINDOWS], [1], | 292 | AC_DEFINE([NEED_MKTIME_WINDOWS], [1], |
294 | [Define if the compilation of mktime.c should define 'mktime' | 293 | [Define if the compilation of mktime.c should define 'mktime' |