On Friday 20 September 2002 10:15, Art Haas wrote:
> Hi.
>
> I just built 0.70, and found that I needed to make the following
> small change to the Makefile.am file in both src and util. With
> the moving around of some of the files, the code still in src
> and util needs to pick up header files in lib. The Makefile.am
> file had this bit to do just that ...
>
> -I../lib
>
> That only works if you build in the source directory. As I try to
> build in a clean directory for each build, I got errors due to
> missing header files. When building I'll do the following ...
>
> $ cd blackbox-cvs
> $ cvs -z6 update -Pd
> $ mkdir objdir
> $ cd objdir
> $ ../configure
>
> The fix is simply to modify the include path to ...
>
> -I$(top_srcdir)/lib
>

thanks, I have tried to keep blackbox working in this way.  I do hope you are 
aware that the current tree is going to be in a constant state of flux.  
Beware of falling rocks!

> and then things work without problems.
>
> Also, as my suggestion to move to an autoconf-2.5X configuration
> script seems to be well recieved, I'd like to further suggest
> that the minimum version be set to 2.53. I believe this will require
> the use of automake-1.6, and that has the benefit of bringing in
> the automatic dependency generation features that version of
> automake provides. The Makefile.am files can then be cleaned up
> to remove header file dependencies, as they'll be generated (for
> most people) automatically when the code is compiled.
>

Brad has a setup similar to this in his moving_target tree.  However I was 
displeased with the new automake as it littered the build tree with .deps 
dirs and myriads of other garbage.  Mind looking at his old tree and 
comparing it to your patch?

My other concern with the new autotools is that they are still not standard 
tools yet.  Many linux distros (Debian included) still default to the older 
toolset.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to