Hello Matěj, * Matěj Týč wrote on Mon, Feb 02, 2009 at 09:34:49PM CET: > I have a library that has its .la file in the right place. > The question is: What should I do in the autotools setup so that libtool > takes over the compilation, discovers the .la file and passes additional > options to the linker so that the linking doesn't fail? Having > AC_PROG_LIBTOOL in the configure.ac is not enough... > What about having a AC_CHECK_LTLIB macro? > This would be good to check for libtool libs first and for pkg-config > configuration only if someone has taken the .la files away (some distros > do that)
Yes, it may be a good idea if somebody wrote this. It should probably depend on LT_OUTPUT. OTOH, the havelib module from gnulib already provides quite a bit of functionality in this area. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool