[Top][All Lists]

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

Re: back to directory dependencies

From: Ralf Wildenhues
Subject: Re: back to directory dependencies
Date: Wed, 29 Jun 2005 17:03:43 +0200
User-agent: Mutt/1.4.1i

Hi Baurzhan,

* Baurzhan Ismagulov wrote on Tue, Jun 28, 2005 at 08:46:53PM CEST:
> On Tue, Jun 28, 2005 at 06:31:57PM +0200, Ralf Wildenhues wrote:
> > Hmm.  I don't know whether AC_CONFIG_SUBDIRS can give you the
> > flexibility you want here.  If you unconditionally build both packages,
> > there is no need to check for libl1 during src1/configure.
> The problem is, I have to check the location of the library. The system
> can be built in two ways:
> 1. libl1.a in ../lib/l1, native or cross.
> 2. libl1.a somewhere else (like /usr/lib or /usr/<platform>/lib), native
>    or cross.

Hmm.  How about you allow for a switch to tell the package you are doing
(1).  For example: --enable-included-libl1.  You may pass this to the
top package configure, it will pass it through.

Then have the sub-configure skip the test for libl1 in that case.

Agreed, it's not a great solution.  Better suggestions welcome.


reply via email to

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