]> Savannah Git Hosting - gnulib.git/commitdiff
year2038: Fix configure failure on 32-bit mingw.
authorBruno Haible <bruno@clisp.org>
Sat, 15 Apr 2023 04:57:37 +0000 (21:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Apr 2023 04:57:37 +0000 (21:57 -0700)
* m4/largefile.m4 (_AC_SYS_YEAR2038_PROBE): Use the same option
spelling as in _AC_SYS_YEAR2038_OPTIONS.

ChangeLog
m4/largefile.m4

index 6dd071ed10ae4688a66b1a5cbba38a0604441bd5..6ca5b7c66f4e37fe161009656032d7f7356ad41d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-04-14  Bruno Haible  <bruno@clisp.org>
+
+       year2038: Fix configure failure on 32-bit mingw.
+       * m4/largefile.m4 (_AC_SYS_YEAR2038_PROBE): Use the same option
+       spelling as in _AC_SYS_YEAR2038_OPTIONS.
+
 2023-04-14  Bruno Haible  <bruno@clisp.org>
 
        isnan: Fix compilation error in C++ mode on FreeBSD 13.2.
index 4bfff0d076cd399625d8841c068a5749570b7473..f741d0df6e9432ee62ae7e9150bcc0f131bc87e3 100644 (file)
@@ -125,7 +125,7 @@ AS_CASE([$ac_cv_sys_year2038_opts],
     [AC_DEFINE([_TIME_BITS], [64],
       [Number of bits in time_t, on hosts where this is settable.])],
 
-  ["-D__MINGW_USE_VC2005_COMPAT=1"],
+  ["-D__MINGW_USE_VC2005_COMPAT"],
     [AC_DEFINE([__MINGW_USE_VC2005_COMPAT], [1],
       [Define to 1 on platforms where this makes time_t a 64-bit type.])],