On Thu, 1 Sep 2005, Andreas Jellinghaus wrote:
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? 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?
Libtool itself understands the content of *.la files. conceivably you can execute libtool from within the configure script to perform tests. Autoconf is not going to do this automatically for you though so you would not be able to use AC_CHECK_LIB directly. It *might* be possible to make use of AC_CHECK_LIB by temporarily altering the definition of CC and LD.
There has always been a bit of an impedance mis-match between autoconf and libtool since autoconf does not depend on libtool or know about .la files.
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool