From: Po Lu Date: Mon, 15 May 2023 03:31:16 +0000 (+0800) Subject: Fix year 2038 code for Android 4.4 and earlier X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4247b2a723e5a3a04c4ea71ffc469cb4d9e094b1;p=emacs.git Fix year 2038 code for Android 4.4 and earlier * configure.ac: Also disable enable_year2038. --- diff --git a/configure.ac b/configure.ac index 65609ec8021..2a2d31bb72d 100644 --- a/configure.ac +++ b/configure.ac @@ -40,9 +40,9 @@ if test "$XCONFIGURE" = "android"; then CFLAGS="$ANDROID_CFLAGS -Werror=implicit-function-declaration" # Don't explicitly enable support for large files unless Emacs is # being built for API 21 or later. Otherwise, mmap does not work. - if test "$ANDROID_SDK" -lt "21"; then + AS_IF([test "$ANDROID_SDK" -lt "21"], [ enable_largefile=no - fi + enable_year2038=no]) fi dnl Set emacs_config_options to the options of 'configure', quoted for the shell,