[openbeos-build-team] Re: Jam 2.4 hack

  • From: "Ryan Leavengood" <leavengood@xxxxxxxxxxxx>
  • To: openbeos-build-team@xxxxxxxxxxxxx
  • Date: Tue, 02 Jul 2002 20:15:54 EDT

>Mmh, at least I wouldn't know how to do it. Unlike make Jam doesn't 
>feature rebuilding of Makefiles. The execution order of the passes is 
>strictly linear, and since a file to be included would be needed in 
>parsing pass, but can't be built before the updating pass, I don't 
>much hope for this idea.

Yeah as far as I know, this is correct.  You can't generate something 
to be included in the same file that is generating it (chicken before 
the egg, etc.)

>Err, I'm afraid you mean Ryan or me. ;-)
>I'm not common to autoconf, which Ryan proposed to use. So please 
>forgive my naive ignorance, as I would currently doing something 
[Excellent configure script snipped]

Actually I've never used autoconf either, hehehe.  But I learn fast, 
and there are plenty of docs available online about it (unlike, *ahem*, 

But really, this script you provided looks just fine.  Until our 
configuration needs become more complex (and hopefully they won't), 
something like that should suffice.

>With Jam 2.4 we can use the GLOB rule to determine whether a 
>BuildConfig file does exist.

Indeed.  And if it doesn't exist we EXIT with a nice message saying to 
run configure before running jam again.  Works for me!

Ryan Leavengood
OpenBeOS Build Team Lead

Other related posts: