Hello, > Is there a way to force "$ac_link" to use a "-c" before the source > file when doing AC_CHECK_LIB? ... > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS -c > conftest.$ac_ext $LIBS >&5' a quick hack: wouldn't ./configure LDFLAGS=-c solve your problem? (Or perhaps ./configure CFLAGS=-c The double `-c' is compile case should not matter.) HTH, Stepan Kasal _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf