Re: [PATCH] add new AC_PROG_AR helper

Mike Frysinger <[email protected]> Tue, 25 Jan 2022 00:58:59 -0500
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <Ye+Ro9oWswiyjQmZ@vapier>
On 24 Jan 2022 09:35, Zack Weinberg wrote:
> On Wed, Jan 19, 2022, at 12:22 AM, Mike Frysinger wrote:
> > On 22 Feb 2021 11:26, Zack Weinberg wrote:
> >> On Mon, Feb 22, 2021 at 11:15 AM Mike Frysinger 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?
> >
> > are there plans to merge this ?
> 
> Sorry about that, I thought you would merge it yourself (do you not have
> commit access for autoconf?)  It's merged now.  I had to add a change to
> tests/local.at to allow AR to be set.

ah, i see, that can be confusing.  i don't have access to autoconf.  am i
supposed to ? :)

> Did you ever get around to checking whether there was code in automake and/or
> libtool that is now redundant to this macro?

i posted some findings:
https://lists.gnu.org/archive/html/autoconf-patches/2021-02/msg00011.html

but i was going to wait for it to be canonical before proposing any patches.
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmHvkaMACgkQQWM7n+g3
9YGAcBAAhiTxfrAf1sx87rEdL/qMshz/evt6RN1W0+pT48+xMeHkq1picqV1g+pD
4UWq2CsyUEkvBVQD4embAfjWpj8NWpF+RazMcDM2p5t7OXLckwyhe9cCsf551M+2
S/ojnyeLCHK26icDaqmGIeiIwUNdLYcnUIoLDjM3sJgXwHpJxkHIC42DnVVgWPMH
gHROXUE7gzKNuaxVkrJtMv6oXWXIe8ZooljGD57t99WcnqgGP/IyvFlYN4XqCMYb
2LCV5y69Jl+Vz7/BK2RH0fCNNxoldowKLIAUjxt8OggQgmUdzmHik13tK6rcE9vo
cfJn4B9BgbdtXBKUa5iTTn7QR+54P2GLL/69HZGVFZWQpEcNEcGZPrj2nlNx2mQi
bnikjgWDYPsgEggIYlnoa/u2cOFy591s5Arpzl19mxxDB5dgjIMOyHPbOw8MBqsu
TkNp03v/gabGTKCYSJPSlsFC54iDcPu3l89fKSmso9RxOjvChTsw0rFl8GFSmVXO
y2tsld+yjwyFWFE1Rbz9TXEbFh3xwD8mDQhhiRjRJq/YgiCsVo+R3QjSfz6LgAUe
3l6DK7FNKQH426QDE8TXG0L2eEbXGwkiffcStcPjT+aTXVxJHlySffCZLVk8aBoF
FUZUZnUp4UVaHGPYhzhxqFEN3JbXgoVfDN0rmw4CmFtdO9lRamU=
=/uDG
-----END PGP SIGNATURE-----