diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /m4/mktime.m4 | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
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 | ||