summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-31 02:40:14 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-31 21:40:32 -0500
commitd096d4e67cc186fff2be1b3b70ce9072ea4eef14 (patch)
tree107b286ab284bffd62102daee69ceb25fc69538f
parent8d9daa99d9fa0fd6a0faa3f5e3d3e3b1438d653e (diff)
downloadautomake-d096d4e67cc186fff2be1b3b70ce9072ea4eef14.tar.gz
AM_PROG_AR: require before AC_PROG_AR
The new autoconf AC_PROG_AR macro has similar logic to what we have in AM_PROG_AR, but less than what we need (since autoconf doesn't support the MS archiver), so make sure we are run before AC_PROG_AR. * m4/ar-lib.m4: Call AC_BEFORE for AC_PROG_AR.
-rw-r--r--m4/ar-lib.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/ar-lib.m4 b/m4/ar-lib.m4
index 0bd2f6bf9..1b5a0272a 100644
--- a/m4/ar-lib.m4
+++ b/m4/ar-lib.m4
@@ -13,6 +13,7 @@
AC_DEFUN([AM_PROG_AR],
[AC_BEFORE([$0], [LT_INIT])dnl
AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
+AC_BEFORE([$0], [AC_PROG_AR])dnl
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([ar-lib])dnl
AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])