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.

I haven't implemented (2) yet, but the build system should support it.
I'm also open to other suggestions as long as they suit my needs; what I
don't want is to write and maintain complex makefiles manually.

I need (2) for building packages, so that I build libl1-dev, install it,
and then build src1 package, which build-depends on libl1-dev.

With kind regards,
Baurzhan.


Reply via email to