13027 |
|
|
13028 |
|
echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
13029 |
|
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6 |
13030 |
+ |
|
13031 |
+ |
|
13032 |
+ |
ac_ext=${FC_SRCEXT-f} |
13033 |
+ |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
13034 |
+ |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
13035 |
+ |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
13036 |
+ |
|
13037 |
+ |
ac_save_ext=$ac_ext |
13038 |
+ |
ac_ext=F90 |
13039 |
+ |
ac_save_FCFLAGS=$FCFLAGS |
13040 |
|
have_mpif_h=0 |
13041 |
|
rm -f conftest* |
13042 |
|
cat >conftest.$ac_ext <<EOF |
13066 |
|
_ACEOF |
13067 |
|
|
13068 |
|
fi |
13069 |
+ |
FCFLAGS=$ac_save_FCFLAGS |
13070 |
+ |
ac_ext=$ac_save_ext |
13071 |
+ |
ac_ext=cc |
13072 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
13073 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13074 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13075 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13076 |
|
|
13077 |
+ |
|
13078 |
|
ac_ext=c |
13079 |
|
ac_cpp='$CPP $CPPFLAGS' |
13080 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |