configry fixes

This commit is contained in:
Salvatore Filippone
2015-10-17 11:26:39 +00:00
parent 20ba6eab08
commit 96fccfd41a
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -337,6 +337,7 @@ dnl Warning : square brackets are EVIL!
ac_fc="${MPIFC-$FC}";
save_FCFLAGS="$FCFLAGS";
FCFLAGS=" $FMFLAG$PSBLAS_DIR/include $save_FCFLAGS"
ac_compile='$ac_fc -c -o conftest.${ac_objext} $FCFLAGS conftest.$ac_ext 1>&5'
AC_COMPILE_IFELSE([
program test
use psb_base_mod
Vendored
+2 -1
View File
@@ -5608,7 +5608,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_f90_modflag" >&5
$as_echo "$ax_cv_f90_modflag" >&6; }
FMFLAG="${ax_f90_modflag%% *}"
FMFLAG="${ax_cv_f90_modflag%% *}"
# Last resort attempt
if test "x$FMFLAG" == "xnot" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Fortran inclusion flag detection failed, trying with -I" >&5
@@ -5630,6 +5630,7 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu
ac_fc="${MPIFC-$FC}";
save_FCFLAGS="$FCFLAGS";
FCFLAGS=" $FMFLAG$PSBLAS_DIR/include $save_FCFLAGS"
ac_compile='$ac_fc -c -o conftest.${ac_objext} $FCFLAGS conftest.$ac_ext 1>&5'
cat > conftest.$ac_ext <<_ACEOF
program test
+1 -1
View File
@@ -238,7 +238,7 @@ fi
# PSBLAS library presence checks
###############################################################################
AX_F90_MODULE_FLAG
FMFLAG="${ax_f90_modflag%%[ ]*}"
FMFLAG="${ax_cv_f90_modflag%%[ ]*}"
# Last resort attempt
if test "x$FMFLAG" == "xnot" ; then
AC_MSG_NOTICE([Fortran inclusion flag detection failed, trying with -I])