From: Bruno Haible Date: Sat, 15 Apr 2023 04:57:37 +0000 (-0700) Subject: year2038: Fix configure failure on 32-bit mingw. X-Git-Tag: v1.0~1442 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=44366a5e4a6cf14ef03e0cc859c9e842845015f3;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 6dd071ed10..6ca5b7c66f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-04-14 Bruno Haible + + 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 isnan: Fix compilation error in C++ mode on FreeBSD 13.2. diff --git a/m4/largefile.m4 b/m4/largefile.m4 index 4bfff0d076..f741d0df6e 100644 --- a/m4/largefile.m4 +++ b/m4/largefile.m4 @@ -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.])],