summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-14 16:18:35 +0200
committerPaul Eggert <eggert@cs.ucla.edu>2023-04-14 21:54:13 -0700
commit0cc3c4ca8e6c550bf590ae45a916982b6ec50203 (patch)
treea7da389567a7e649f872d4c13da3a6f3434021a7
parenta1e82aff0fd842b0f09e2cd166560dfda725ba13 (diff)
downloadautoconf-0cc3c4ca8e6c550bf590ae45a916982b6ec50203.tar.gz
AC_SYS_YEAR2038: Fix configure failure on 32-bit mingw.
* lib/autoconf/specific.m4 (_AC_SYS_YEAR2038_PROBE): Use the same option spelling as in _AC_SYS_YEAR2038_OPTIONS.
-rw-r--r--lib/autoconf/specific.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index 1a3f4a65..3bf1a0ed 100644
--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
@@ -182,7 +182,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.])],