From 1be992db04fc71296a98303724635b2b6b0cd10d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 14 Feb 2024 13:58:36 +0100 Subject: Add missing autoconf check for AR After removing libtool, there is no more cross-check for AR. Because some slightly older versions of autoconf don't have AC_PROG_AR, simply insert the implementation one-liner. We already tried bumping the minimum autoconf version once in the past, but apparently that is an issue for a number of distros. Signed-off-by: David Oberhollenzer --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index cd48bb0..7448b3e 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,8 @@ AM_INIT_AUTOMAKE([foreign subdir-objects dist-bzip2]) AM_SILENT_RULES([yes]) AC_PROG_CC AC_PROG_INSTALL +# autoconf <= 2.63 doesn't have AC_PROG_AR +AC_CHECK_TOOL(AR, ar, :) AC_PROG_RANLIB AC_SYS_LARGEFILE -- cgit v1.2.3