aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert2023-05-14 18:51:23 -0700
committerPaul Eggert2023-05-14 19:28:13 -0700
commit3cd8ce87d298c3e0ca1e2336400d06c1a8794381 (patch)
tree9a7b6bd789d33f7924da1c486888a54141fea6ef /m4
parent919e1b81a4a8ff95c36a0639fa5a5c86f8759f2e (diff)
downloademacs-3cd8ce87d298c3e0ca1e2336400d06c1a8794381.tar.gz
emacs-3cd8ce87d298c3e0ca1e2336400d06c1a8794381.zip
Work after 2038 on 32-bit GNU/Linux
This adds support for 64-bit time_t on 32-bit GNU/Linux ARM and x86, where time_t was historically 32-bit. The resulting Emacs should continue to work for timestamps after mid-January 2038. * admin/merge-gnulib (GNULIB_MODULES): Add year2038. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'm4')
-rw-r--r--m4/gnulib-comp.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4
index 58fcd1c0481..882b5869755 100644
--- a/m4/gnulib-comp.m4
+++ b/m4/gnulib-comp.m4
@@ -210,6 +210,8 @@ AC_DEFUN([gl_EARLY],
210 # Code from module vla: 210 # Code from module vla:
211 # Code from module warnings: 211 # Code from module warnings:
212 # Code from module xalloc-oversized: 212 # Code from module xalloc-oversized:
213 # Code from module year2038:
214 AC_REQUIRE([AC_SYS_YEAR2038])
213]) 215])
214 216
215# This macro should be invoked from ./configure.ac, in the section 217# This macro should be invoked from ./configure.ac, in the section