Rewrite commentary to not mention Autoconf 2.72, as the plan is to jump from 2.71 to 2.73 with no 2.72. Leave code uses of ‘m4_version_prereq([2.72], ...)’ alone, though as they’re still correct for Autoconf released versions and will help test Autoconf release candidates. --- ChangeLog | 6 +++--- m4/largefile.m4 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 7a17b548ce..30aafccaed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5495,7 +5495,7 @@ stdbool: port to C23 * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Copy from bleeding-edge - Autoconf. Don’t define if Autoconf 2.72 or later. + Autoconf. Define only if Autoconf 2.71 and earlier. * tests/test-stdbool.c (bool, false, true) (__bool_true_false_are_defined): Do not require these to be defined. C23 still requires __bool_true_false_are_defined but @@ -5674,11 +5674,11 @@ 2022-08-09 Paul Eggert <egg...@cs.ucla.edu> - largefile, year2038: simplify if Autoconf 2.72 + largefile, year2038: simplify if > Autoconf 2.71 * m4/largefile.m4 (gl_SET_LARGEFILE_SOURCE) (_AC_SYS_LARGEFILE_MACRO_VALUE): * m4/year2038.m4 (gl_YEAR2038_EARLY, gl_YEAR2038, gl_YEAR2038_BODY): - Adjust to Autoconf 2.72, which should contain the Gnulib + Adjust to Autoconf versions after 2.71, which should contain the Gnulib patches in this area and so should not need to be overridden. 2022-08-07 Bruno Haible <br...@clisp.org> diff --git a/m4/largefile.m4 b/m4/largefile.m4 index 7fb81b864a..b128e24353 100644 --- a/m4/largefile.m4 +++ b/m4/largefile.m4 @@ -10,7 +10,7 @@ # It does not set _LARGEFILE_SOURCE=1 on HP-UX/ia64 32-bit, although this # setting of _LARGEFILE_SOURCE is needed so that <stdio.h> declares fseeko # and ftello in C++ mode as well. -# Fixed in Autoconf 2.72, which has AC_SYS_YEAR2038. +# This problem occurs in Autoconf 2.71 and earlier, which lack AC_SYS_YEAR2038. AC_DEFUN([gl_SET_LARGEFILE_SOURCE], m4_ifndef([AC_SYS_YEAR2038], [[ AC_REQUIRE([AC_CANONICAL_HOST]) -- 2.37.2