Is there a way to force "$ac_link" to use a "-c" before the source file when doing AC_CHECK_LIB? The cell compiler doesn't like: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' but it works with: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS -c conftest.$ac_ext $LIBS >&5' where I have added a "-c" before conftest.$ac_ext. Ben -- Benjamin Karl Bergen CCS-2 Continuum Dynamics Los Alamos National Laboratory _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf