|
|
@ -6711,6 +6711,7 @@ while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ; do
|
|
|
|
done
|
|
|
|
done
|
|
|
|
mkdir tmpdir_$i
|
|
|
|
mkdir tmpdir_$i
|
|
|
|
cd tmpdir_$i
|
|
|
|
cd tmpdir_$i
|
|
|
|
|
|
|
|
ac_ext='f90';
|
|
|
|
cat > conftest.$ac_ext <<_ACEOF
|
|
|
|
cat > conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
|
|
module conftest_module
|
|
|
|
module conftest_module
|
|
|
@ -6725,7 +6726,7 @@ if ac_fn_fc_try_compile "$LINENO"; then :
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
cd ..
|
|
|
|
cd ..;
|
|
|
|
ax_cv_f90_modflag="not found"
|
|
|
|
ax_cv_f90_modflag="not found"
|
|
|
|
for ax_flag in "-I " "-M" "-p"; do
|
|
|
|
for ax_flag in "-I " "-M" "-p"; do
|
|
|
|
if test "$ax_cv_f90_modflag" = "not found" ; then
|
|
|
|
if test "$ax_cv_f90_modflag" = "not found" ; then
|
|
|
@ -6747,7 +6748,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
rm -fr tmpdir_$i
|
|
|
|
rm -fr tmpdir_$i
|
|
|
|
if test "$ax_flag" = "not found" ; then
|
|
|
|
if test "$ax_cv_f90_modflag" = "not found" ; then
|
|
|
|
as_fn_error $? "unable to find compiler flag for modules inclusion" "$LINENO" 5
|
|
|
|
as_fn_error $? "unable to find compiler flag for modules inclusion" "$LINENO" 5
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
ac_ext=c
|
|
|
|
ac_ext=c
|
|
|
|