autoconf
[Top][All Lists]
Advanced

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

Re: Build package with subpackages


From: Ralf Wildenhues
Subject: Re: Build package with subpackages
Date: Tue, 12 Sep 2006 12:30:53 +0200
User-agent: Mutt/1.5.13 (2006-09-01)

* Sanjaya Ratnaweera wrote on Tue, Sep 12, 2006 at 10:12:22AM CEST:
> Ralf Wildenhues wrote:
> >
> > And use AC_CONFIG_SUBDIRS for specifying directories containing
> > sub-configure scripts.

> The problem is this. I want to run sub-configure scripts before the
> main one. But when I put AC_CONFIG_SUBDIRS in main configure.ac script
> it configure the main one first and then the sub projects. Is there
> any way to run configure first before the main one. Because the main 
> project depends on sub projects.

I'm afraid in order to give good advice we need to know more about your
setup.

You say you would like your top-level configure script to invoke the
other configure scripts first, and then afterwards do its tests.  Why
would that help you?  Do the tests of the toplevel configure script
depend upon the config.status files that are generated by the sub-
configure scripts?  (I think this is a rather rare case in practice;
it could be solved by invoking the sub-configure scripts manually
instead of using AC_CONFIG_SUBDIRS.)

Or is it rather the case that your top level configure script should
only be run after the sub-packages have been _built_ (and not only
configured)?  (For example so that some libraries already exist.)

If the latter is the case, then I suggest you modify your toplevel
configure script so that it can just assume the libraries to exist.

Maybe it helps if you describe the actual problem you are trying to
solve.

Cheers,
Ralf




reply via email to

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