--- trunk/OOPSE-3.0/ac-tools/OOPSE.m4 2006/05/24 16:18:00 2767 +++ trunk/OOPSE-3.0/ac-tools/OOPSE.m4 2006/05/24 18:31:12 2768 @@ -816,6 +816,11 @@ have_mpif_h=0 fi AC_MSG_CHECKING([whether mpif.h is usable]) +AC_LANG_SAVE() +AC_LANG(Fortran) +ac_save_ext=$ac_ext +ac_ext=F90 +ac_save_FCFLAGS=$FCFLAGS have_mpif_h=0 rm -f conftest* cat >conftest.$ac_ext <