On 2023-04-03 01:00, Frederic Berat wrote:
It would have been nice to keep these macro around for backward
compatibility. Assuming they are only used by gnulib, they wouldn't
need to be kept for too long.
Fair enough. I installed the attached into Autoconf on savannah, so that
one should be able to use bleeding-edge Autoconf on the current RCS release.
This patch uses m4_define rather than AU_DEFUN because
_AC_SYS_LARGEFILE_TEST_CODE is defined via m4_define rather than via
AC_DEFUN. So the user is not warned that _AC_SYS_LARGEFILE_TEST_INCLUDES
is obsolete. I don't know why _AC_SYS_LARGEFILE_TEST_CODE doesn't use
AC_DEFUN, so I'll cc this to Zack (who wrote that code) to see whether
we can change to AC_DEFUN and AU_DEFUN here.From 938f2d844515a7cbc8ba3d40d0e57bfce9971969 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@xxxxxxxxxxx>
Date: Mon, 3 Apr 2023 09:12:40 -0700
Subject: [PATCH] Support circa early 2022 Gnulib
Problem reported by Frederic Berat in:
https://lists.gnu.org/r/bug-rcs/2023-04/msg00001.html
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_TEST_INCLUDES):
Bring back for compatibility with post-2.71, pre-2.73 Gnulib.
---
lib/autoconf/specific.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index 1b3ee661..521f474e 100644
--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
@@ -277,6 +277,8 @@ m4_define([_AC_SYS_LARGEFILE_TEST_CODE],
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1]];[]dnl
])
+# Defined by Autoconf 2.71 and circa 2022 Gnulib unwisely depended on it.
+m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], [_AC_SYS_LARGEFILE_TEST_CODE])
# _AC_SYS_LARGEFILE_OPTIONS
# -------------------------
--
2.37.2