diff options
Diffstat (limited to 'm4/mktime.m4')
| -rw-r--r-- | m4/mktime.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4 index 8d9b827fe21..4e7e423fa54 100644 --- a/m4/mktime.m4 +++ b/m4/mktime.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # serial 32 | 1 | # serial 35 |
| 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software Foundation, | 2 | dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software Foundation, |
| 3 | dnl Inc. | 3 | dnl Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| @@ -31,7 +31,6 @@ AC_DEFUN([gl_FUNC_MKTIME_WORKS], | |||
| 31 | dnl in Autoconf and because it invokes AC_LIBOBJ. | 31 | dnl in Autoconf and because it invokes AC_LIBOBJ. |
| 32 | AC_CHECK_HEADERS_ONCE([unistd.h]) | 32 | AC_CHECK_HEADERS_ONCE([unistd.h]) |
| 33 | AC_CHECK_DECLS_ONCE([alarm]) | 33 | AC_CHECK_DECLS_ONCE([alarm]) |
| 34 | AC_CHECK_FUNCS_ONCE([tzset]) | ||
| 35 | AC_REQUIRE([gl_MULTIARCH]) | 34 | AC_REQUIRE([gl_MULTIARCH]) |
| 36 | AC_CACHE_CHECK([for working mktime], [gl_cv_func_working_mktime], | 35 | AC_CACHE_CHECK([for working mktime], [gl_cv_func_working_mktime], |
| 37 | [if test $APPLE_UNIVERSAL_BUILD = 1; then | 36 | [if test $APPLE_UNIVERSAL_BUILD = 1; then |
| @@ -55,13 +54,12 @@ AC_DEFUN([gl_FUNC_MKTIME_WORKS], | |||
| 55 | # include <signal.h> | 54 | # include <signal.h> |
| 56 | #endif | 55 | #endif |
| 57 | 56 | ||
| 57 | ]GL_MDA_DEFINES[ | ||
| 58 | |||
| 58 | #ifndef TIME_T_IS_SIGNED | 59 | #ifndef TIME_T_IS_SIGNED |
| 59 | # define TIME_T_IS_SIGNED 0 | 60 | # define TIME_T_IS_SIGNED 0 |
| 60 | #endif | 61 | #endif |
| 61 | 62 | ||
| 62 | /* Work around redefinition to rpl_putenv by other config tests. */ | ||
| 63 | #undef putenv | ||
| 64 | |||
| 65 | static time_t time_t_max; | 63 | static time_t time_t_max; |
| 66 | static time_t time_t_min; | 64 | static time_t time_t_min; |
| 67 | 65 | ||