automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53650] [PATCH] AM_PROG_AR: require before AC_PROG_AR


From: Mike Frysinger
Subject: [bug#53650] [PATCH] AM_PROG_AR: require before AC_PROG_AR
Date: Mon, 31 Jan 2022 02:43:42 -0500

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.
---
 m4/ar-lib.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/m4/ar-lib.m4 b/m4/ar-lib.m4
index 0bd2f6bf9f88..1b5a0272aec7 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])
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]