[Top][All Lists]

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

Re: how to link with installed libltdl?

From: Ralf Wildenhues
Subject: Re: how to link with installed libltdl?
Date: Thu, 1 Sep 2005 20:41:47 +0200
User-agent: Mutt/1.5.9i

Hi Andreas,

* Andreas Jellinghaus wrote on Thu, Sep 01, 2005 at 08:28:24PM CEST:
> On Thursday 01 September 2005 16:52, Bob Friesenhahn wrote:
> > 
> > I may be missing something, but all the libltdl-related macros I see 
> > are for the case of when libltdl is bundled with the package.  I don't 
> > see one for simply testing for an already installed libltdl.
> thanks bob, that is exactly the problem I'm facing.
> now I wonder: if the libtool *.la files contain all information about
> the dependencies etc, then shouldn't there be some macro that searches
> for that *.la files, gets the dependencies from it, does the compile
> and link test and sets up CFLAGS and LIBS to include whatever is necessary?

Dependent libraries it has, CFLAGS should not be necessary.  Everything
else would be a bug in ltdl.

> is there something that works like AC_CHECK_LIB, except that AC_CHECK_LIB 
> seems to have no clue about *.la files, so is there some alternative that 
> does?

Yes, there are good macros that do this.  Check out lib-link.m4 and
companions from gettext (alternatively they are conveniently available
as module in gnulib), written by Bruno Haible.


reply via email to

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