Re: [PATCH] build: speed up configure for releases

On 03/17/2012 03:34 AM, Jim Meyering wrote:
> Since I rarely configure without using a cache, I suspect
> that the speed difference will be negligible for me.
>
> On the other hand, for most people, even a speed-up of just
> a few seconds would probably be welcome.
>
> How about a compromise: leave the code there, but guard it with
> some new envvar setting that is normally off.
> Then add something to my-distcheck so that for at least one
> ./configure run it is enabled. That will preserve the safety net
> *and* save most people the cost of those added tests.
Cool idea - I'm playing with an m4_syscmd wrapper that conditionally
invokes the macro based on the current environment of the autoconf
process, as well as the counterpart to cfg.mk that sets the envvar.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org