Re: using color-tests backwards-portably

2009-08-14 Thread Ben Pfaff
Ralf Wildenhues writes: > * Ben Pfaff wrote on Fri, Aug 14, 2009 at 06:33:14PM CEST: >> As an alternative, could Automake provide an API that allows >> users to say "if feature X is supported, then expand this >> configure.ac code"? For example: >> >> AM_FEATURE_PREREQ([color-tests], >>

Re: using color-tests backwards-portably

2009-08-14 Thread Ralf Wildenhues
Hello Ben, * Ben Pfaff wrote on Fri, Aug 14, 2009 at 06:33:14PM CEST: > As an alternative, could Automake provide an API that allows > users to say "if feature X is supported, then expand this > configure.ac code"? For example: > > AM_FEATURE_PREREQ([color-tests], > [AM_INI

Re: using color-tests backwards-portably

2009-08-14 Thread Ben Pfaff
Ralf Wildenhues writes: > I think Automake should provide an API to allow users to say "if the > Automake version is >= X, then expand this configure.ac code". I think > that would be general enough (it could use Automake conditionals to > adjust Makefile.am files, it could check for >= X and no

Re: avoid a 1-second sleep in every configure script

2009-08-14 Thread Jim Meyering
Ralf Wildenhues wrote: > * Jim Meyering wrote on Thu, Jul 30, 2009 at 04:20:52PM CEST: >> I noticed (by inspection, since I was looking at AM_SANITY_CHECK) >> the unconditional 1-second sleep in coreutils' configure script, >> and realized that it'd be easy to avoid it on modern systems: >> either