aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-02-14 13:58:36 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-02-14 13:59:36 +0100
commit1be992db04fc71296a98303724635b2b6b0cd10d (patch)
tree905260eb4e1735d6a3d3b510dffdf8a082963103 /configure.ac
parent9471c13faf76ff05f58d636b988bb066ad6d05fa (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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