diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-14 18:51:23 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-14 19:28:13 -0700 |
commit | 3cd8ce87d298c3e0ca1e2336400d06c1a8794381 (patch) | |
tree | 9a7b6bd789d33f7924da1c486888a54141fea6ef /m4 | |
parent | 919e1b81a4a8ff95c36a0639fa5a5c86f8759f2e (diff) | |
download | emacs-3cd8ce87d298c3e0ca1e2336400d06c1a8794381.tar.gz |
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.m4 | 2 |
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], # Code from module vla: # Code from module warnings: # Code from module xalloc-oversized: + # Code from module year2038: + AC_REQUIRE([AC_SYS_YEAR2038]) ]) # This macro should be invoked from ./configure.ac, in the section |