This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: convenience binaries


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]