Re: [PATCH] add new AC_PROG_AR helper

Zack Weinberg <[email protected]> Mon, 22 Feb 2021 11:26:39 -0500
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <CAKCAbMjyB3ZtEsR_hLQ2tVpwLM9rj0r6W4XfPiyL4rFM2FbyNw@mail.gmail.com>
On Mon, Feb 22, 2021 at 11:15 AM Mike Frysinger <[email protected]> wrote:
> This mirrors the existing RANLIB and related toolchain macros that
> autoconf already exports.  Some projects assume `ar` is available
> which isn't always safe, so provide a macro that probes the full
> toolchain settings.
>
> This also makes it easier to use AC_REQUIRE with the macro instead
> of duplicating the AC_CHECK_TOOL call in projects.

LGTM.  Could you please check whether there is code in automake and/or
libtool that is now redundant to this macro?

zw