The check works fine when I remove the old library from /usr/lib.
Afaik, LD_LIBRARY_PATHs, if set, should have precedence over standard paths. So, is this a bug in the AC_CHECK_LIB macro, or do I have to configure something differently?
You should use the LDFLAGS variable with -L options to tell configure where to search for libraries. Autoconf should not be using LD_LIBRARY_PATH at all.
Consult the Autoconf documentation. :-)
Bob ====================================== Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx http://www.simplesystems.org/users/bfriesen
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf