]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
AC_SYS_YEAR2038: Fix configure failure on 32-bit mingw.
authorBruno Haible <bruno@clisp.org>
Fri, 14 Apr 2023 14:18:35 +0000 (16:18 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Apr 2023 04:54:13 +0000 (21:54 -0700)
* lib/autoconf/specific.m4 (_AC_SYS_YEAR2038_PROBE): Use the same option
spelling as in _AC_SYS_YEAR2038_OPTIONS.

lib/autoconf/specific.m4

index 1a3f4a65c4bc4966226445c7a1444764e40c2ce1..3bf1a0ed14a14b9cbb9d0920d93e4563d72c6a31 100644 (file)
@@ -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.])],