Avoid sleeping for one second most of the time in sanity check.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 6 Sep 2009 11:06:32 +0000 (13:06 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 6 Sep 2009 11:07:39 +0000 (13:07 +0200)
commitf6b3f7fb620580356865ebedfbaf76af3e534369
tree2d5e66af1ab8d3a807609e691094cb6c6f0c6b15
parent53fe020252642f4b923b8c77392e37e4c5b7038d
Avoid sleeping for one second most of the time in sanity check.

* m4/sanity.m4 (AM_SANITY_CHECK): Try sanity check first without
sleeping for a second, and only if that failed, sleep and try
again, to avoid the delay in the common case of a configure
script that is older than a second, or a system with sub-second
time stamp granularity.
Report and different patch by Jim Meyering.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12 files changed:
ChangeLog
Makefile.in
aclocal.m4
configure
doc/Makefile.in
lib/Automake/Makefile.in
lib/Automake/tests/Makefile.in
lib/Makefile.in
lib/am/Makefile.in
m4/Makefile.in
m4/sanity.m4
tests/Makefile.in