2.Morever by default AC_CHECK_LIB looks for dynamic libraries.How do I
specify that I should look for a static library.
AC_CHECK_LIB looks for both static and dynamic libraries. If you wish to find
only static libraries, you could determine the compiler flag(s) that do what
`-static' does for gcc and add them to LDFLAGS for the AC_CHECK_LIB. It is
probably easiest to harness Libtool for that.
If you want to use libtool for your autoconf tests, then it may be good to know about the following issue:
<http://lists.gnu.org/archive/html/libtool/2004-11/msg00372.html>
Best regards, Sander Niemeijer
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf