Re: [PATCH v2 1/3] autoconf: prefer an unrolled loop for trivial AC_CHECK_FUNCS
Eric Blake <[email protected]>
| Newsgroups | gmane.comp.sysutils.autoconf.patches |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On 11/02/2016 08:28 PM, Eric Blake wrote: >> How would you do that? You would have to expand before the first >> AC_CHECK_FUNC_ONCE, but you do not have a diversion there (you might >> need one per language, in fact). > > Oh, and you're right that N would have to be a > per-language offset. Hmm. As it is, we have a bug if you attempt to use AC_CHECK_FUNCS_ONCE across multiple languages. Only the first language actually checks, because we define only a single one-shot _AC_FUNCS_EXPANSION rather than one per language. I'll fix that first, but I guess the fact that no one has reported it means few people use the macro for anything other than C, rather than for mixed-language projects. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
(application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYGzxnAAoJEKeha0olJ0NqLlUH/0fgl0VGMfYIdSOrXBBaqsXV 4YddcUQniDXst4TKvZ+r/LPYIWc7f/5sX/JGzGDKtpoHBOQdMutIUM/T3nSj4I/K Kn+Lv5h/Exl39uaNzu3AOf3pOUDCkrbBdUBqoxAjoTubHYhzfPjFKgksO+GP/rYk 1BlBpgnsLNogRF95YMCQNqHktOuvzBV9tDNxOQs3pIReM9+yyjSxUIczUK2VbvWq SHJOewo8y2VKloan+YkBlxh53SVYQ5daZD6FDowepcHajEc2zeWq9JSjuFBXXY43 isknydAklShU4FDaynFDv47RIb0F31THi3tQaM9IUj67rnaUZWIn9qsbgP0RK+M= =3LhU -----END PGP SIGNATURE-----