autoconf
[Top][All Lists]
Advanced

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

Re: generated version numbers


From: Harlan Stenn
Subject: Re: generated version numbers
Date: Sun, 23 Feb 2014 23:18:12 +0000

Patrick Welche writes:
> On Sat, Feb 22, 2014 at 07:47:36AM +0000, Harlan Stenn wrote:
> > But apparently something strange is going on, because after we run the
> > bootstrap script, if we run "make" we see:
> > 
> > ...
> >        Prerequisite `../version.m4' is newer than target `../config.h.in'.
> >        Prerequisite `../aclocal.m4' is newer than target`../config.h.in'.
> >       Must remake target `../config.h.in'.
> > ...
> > 
> > And this makes no sense to me because:
> > 
> > - version.m4 is updated *first* in the bootstrap script
> > - autoreconf (which updates aclocal) is done after that
> > 
> > so obviously I'm missing something.
> > 
> > I'm continuing to dig into this, and if anybody has any ideas I'd love
> > to hear them.
> 
> Only - what do the timestamps on version.m4 and config.h.in look like?
> Is the bootstrap script too fast? (Clutching at straws)

The version.m4 file gets updated first, then 3 sets of "touches" happen
with a 1 second sleep between them.  After that I run autoreconf.

Using the actual filenames now, after a repo update but before running
the "bootstrap" script:

address@hidden ls -l config.h.in aclocal.m4 sntp/m4/version.m4
-rw-rw-r--  1 harlan  staff  41166 Feb  4 21:40 aclocal.m4
-rw-rw-r--  1 harlan  wheel  41299 Jan 28 02:07 config.h.in
-rw-rw-r--  1 harlan  wheel     40 Feb 21 23:20 sntp/m4/version.m4
address@hidden ./bootstrap
...
address@hidden ls -lT config.h.in aclocal.m4 sntp/m4/version.m4
-rw-rw-r--  1 harlan  staff  41166 Feb 23 15:10:10 2014 aclocal.m4
-rw-rw-r--  1 harlan  wheel  41378 Feb 23 15:10:30 2014 config.h.in
-rw-rw-r--  1 harlan  wheel     40 Feb 23 15:10:03 2014 sntp/m4/version.m4
address@hidden

... and *this* time it didn't rebuild the top-level config.in.h .

I'm about to roll another release; I'll try again after that's done and
include the 2nd instance of config.h.in in the list (we have a nested
project, too).

H



reply via email to

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