On Sun, 22 Feb 2009, Allan Caffee wrote:
AC_CHECK_LIB (AFAIK) is not intended to handle static libraries. The reason for this is that compilers handle static libraries quite differently than shared object libraries. Compilers treat static libraries as a single big object file to be included along with all the others. For example to compile the test program you would use something like: g++-mp-4.3 -o conftest -g -O2 -I/Users/aaragon/Lib/include /Users/aaragon/Lib/lib/cpputils.a conftest.cpp
you can _make_ a compiler do that, but it's not the usual way static libraries are used.
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf