[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling autoreconf and minimizing rebuilds

From: Ralf Wildenhues
Subject: Re: calling autoreconf and minimizing rebuilds
Date: Tue, 5 Dec 2006 07:11:20 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Paul,

* Paul Eggert wrote on Tue, Dec 05, 2006 at 01:40:59AM CET:
> Ralf Wildenhues <address@hidden> writes:
> > +: ${sleep='sleep 2'}       # Command to force different time stamps
> Why doesn't 'sleep 1' suffice?  That '2' has me worried.

Quoting automake/
## Never use `sleep 1' to create files with different timestamps.
## Use `$sleep' instead.  Some filesystems (e.g., Windows') have only
## a 2sec resolution.

Quoting automake/
# The amount we should wait after modifying files depends on the platform.
# On Windows '95, '98 and ME, files modifications have 2-seconds
# granularity and can be up to 3 seconds in the future w.r.t. the
# system clock.  When it is important to ensure one file is older
# than another we wait at least 5 seconds between creations.
case $build in
  *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
  *)               MODIFICATION_DELAY=2;;

> > Do you think we'll need to cater for a 5 second
> > delay when $build is *-pc-msdosdjgpp (as Automake does)?
> Naah.  Surely we can assume a reasonable build platform for this kind
> of test.  If the platform isn't reasonable, we can skip the test.

So how do we determine reasonability?  Matching $build (against what)?
  *-pc-msdosdjgpp | *cygwin* | *mingw* | *pw32*


reply via email to

[Prev in Thread] Current Thread [Next in Thread]