Re: [PATCH] add new AC_PROG_AR helper

Mike Frysinger <[email protected]> Mon, 31 Jan 2022 02:53:31 -0500
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <YfeVe+7UhvvKqsLu@vapier>
On 26 Jan 2022 10:03, Zack Weinberg wrote:
> It might make sense for Autoconf's AC_PROG_AR to check whether the 'ar' it finds is at least basically command-line compatible with traditional Unix 'ar'

maybe ?  automake & libtool haven't been doing this, so i'm not sure how
useful such a test would be in practice.  and what would autoconf do if
it didn't think `ar` is compatible ?  issue an error & abort ?

> and maybe also check whether it's going to spew "`u' modifier ignored since `D' is the default (see `U')" messages like current binutils ar tends to (see e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1155273 -- as far as I can tell the message is harmless, but if we can reduce the number of junk bug reports that random autotools-using projects have to field, that's a Good Thing).

similarly, what are you expecting autoconf to do with this information ?
should we ignore that `ar` ?  or it wrap it ?  or do something else ?
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmH3lXsACgkQQWM7n+g3
9YEDkhAAgR+V07NMjq4vMFUTSK05bJbO9P2yQKu2JmBGN8GqnsWZuZ3wkMLaPWj/
Zfhn/eZjqI0/6DJ2xgqRm9UVQ7PSy6M/l0wSpf8iiM4QFSzJxyBuoEgHt7HcUbX7
AN9vzxWVo/blTm5e8kh/Uay8BUcCUPp1IMehZ9p3wGKbq9jJSmL+Z9u3+bIIXyZC
816ZRrAJ5mWRKrMa2TVeMdVjyNKKvmjjK3HdZR+ICYlfol2m1BMZhiSJGSmSgZM7
ymXljxW0QH1aq4uu8ENvMMjJbxi6XvS0YQ9MI/wN3GxHyd5AHiG0o8to0skg/5vI
kfE0uLDhmT1Tbbj/pmd1RFSFslXdaqOANjKdyxir9puGkDs3q7OIwgDJoCO85o29
HGBD/xqRhB9NeI5tx7q1pff0MVLoUd8qKYYNVSF/RNHTuI3RJgZNUnDT9SAwgTIa
Ntdd7x+2mwbjINdCOUNtBUnX4IrY0krKT1JLsWXXf+CWLnasMNiyXmM1o7GoVB+4
L+YenyBY+d8FmhQkiI6u12lwRQSouVoAU4qBpMfswuOHw/rzSaUPAeYiqiLsFZTh
YvRrSk+6SP1fnDa8fSqJMFK/EuCFpVCcnivP/zqt3AzP1k/Oygox57Xk1/S0+LjI
oYetALkORclszIXOJfe7LxA3rIORLO+VAA46IITthpb7ccoOcgQ=
=1vPd
-----END PGP SIGNATURE-----