[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convenience binaries
From: |
Ralf Corsepius |
Subject: |
Re: convenience binaries |
Date: |
Tue, 23 Sep 2003 02:25:27 +0200 |
On Mon, 2003-09-22 at 23:54, Warren Turkal wrote:
> Robert Collins wrote:
> > Not necessarily - but certainly the common case is for them to be build
> > system only.
>
> Maybe we should consider adding something like host_PROGRAMS. Just to let
> you all know why I need this, I am converting libX11 from XFree86 to use
> autotools for the Freedesktop.org project. In order for it to compile, it
> generates a small utility to binary to generate a header for itself during
> build. I need that to run properly in a cross compiled environment to
> generate the header during a cross compile.
One common approach to such kind of issues is to split a source tree
into several separate ones with a separate configure script each, and to
write a top-level configure script above them to invoke each of the
sub-directory configure scripts with appropriate options/arguments each.
Unfortunately, implementing such a toplevel configure script with
autoconf is not a trivial task.
Ralf