diff options
Diffstat (limited to 'gl/m4/year2038.m4')
-rw-r--r-- | gl/m4/year2038.m4 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gl/m4/year2038.m4 b/gl/m4/year2038.m4 index da0f8d7..2e4427e 100644 --- a/gl/m4/year2038.m4 +++ b/gl/m4/year2038.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # year2038.m4 serial 7 | 1 | # year2038.m4 serial 8 |
2 | dnl Copyright (C) 2017-2021 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2017-2022 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -7,6 +7,12 @@ dnl with or without modifications, as long as this notice is preserved. | |||
7 | dnl Attempt to ensure that 'time_t' can go past the year 2038 and that | 7 | dnl Attempt to ensure that 'time_t' can go past the year 2038 and that |
8 | dnl the functions 'time', 'stat', etc. work with post-2038 timestamps. | 8 | dnl the functions 'time', 'stat', etc. work with post-2038 timestamps. |
9 | 9 | ||
10 | m4_ifdef([AC_SYS_YEAR2038], [ | ||
11 | AC_DEFUN([gl_YEAR2038_EARLY]) | ||
12 | AC_DEFUN([gl_YEAR2038], [AC_SYS_YEAR2038]) | ||
13 | AC_DEFUN([gl_YEAR2038_BODY], [_AC_SYS_YEAR2038]) | ||
14 | ], [ | ||
15 | |||
10 | AC_DEFUN([gl_YEAR2038_EARLY], | 16 | AC_DEFUN([gl_YEAR2038_EARLY], |
11 | [ | 17 | [ |
12 | AC_REQUIRE([AC_CANONICAL_HOST]) | 18 | AC_REQUIRE([AC_CANONICAL_HOST]) |
@@ -122,3 +128,5 @@ AC_DEFUN([gl_YEAR2038], | |||
122 | [ | 128 | [ |
123 | gl_YEAR2038_BODY([require-year2038-safe]) | 129 | gl_YEAR2038_BODY([require-year2038-safe]) |
124 | ]) | 130 | ]) |
131 | |||
132 | ]) # m4_ifndef AC_SYS_YEAR2038 | ||