From: David Oberhollenzer Date: Wed, 14 Feb 2024 12:58:36 +0000 (+0100) Subject: Add missing autoconf check for AR X-Git-Tag: v2.2.0~11 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1be992db04fc71296a98303724635b2b6b0cd10d;p=mtd-utils.git 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 --- 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