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. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool