From: Mike Frysinger Date: Mon, 31 Jan 2022 07:40:14 +0000 (-0500) Subject: AM_PROG_AR: require before AC_PROG_AR X-Git-Tag: v1.16i~126 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d096d4e67cc186fff2be1b3b70ce9072ea4eef14;p=thirdparty%2Fautomake.git 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. --- 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])