config/pac.m4
 configure.ac
 configure

Bump  GFORTRAN version requirement to 4.9.1
psblas3-newdesc
Salvatore Filippone 9 years ago
commit 2c3c8a8ac7

@ -178,7 +178,7 @@ AC_DEFUN(PAC_HAVE_MODERN_GFORTRAN,
ac_fc=${MPIFC-$FC};
AC_COMPILE_IFELSE([
program main
#if ( __GNUC__ >= 4 && __GNUC_MINOR__ >= 8 ) || ( __GNUC__ > 4 )
#if ( __GNUC__ >= 4 && __GNUC_MINOR__ >= 9 ) || ( __GNUC__ > 4 )
print *, "ok"
#else
this program will fail
@ -186,7 +186,8 @@ AC_DEFUN(PAC_HAVE_MODERN_GFORTRAN,
end],
[ AC_MSG_RESULT([yes])
ifelse([$1], , :, [ $1])],
[ AC_MSG_RESULT([no])
[ AC_MSG_RESULT([no])
AC_MSG_NOTICE([Sorry, we require GNU Fortran version 4.9.1 or later.])
echo "configure: failed program was:" >&AC_FD_CC
cat conftest.$ac_ext >&AC_FD_CC
ifelse([$2], , , [ $2])])

8
configure vendored

@ -5757,7 +5757,7 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu
cat >conftest.$ac_ext <<_ACEOF
program main
#if ( __GNUC__ >= 4 && __GNUC_MINOR__ >= 8 ) || ( __GNUC__ > 4 )
#if ( __GNUC__ >= 4 && __GNUC_MINOR__ >= 9 ) || ( __GNUC__ > 4 )
print *, "ok"
#else
this program will fail
@ -5791,10 +5791,12 @@ sed 's/^/| /' conftest.$ac_ext >&5
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
{ $as_echo "$as_me:$LINENO: Sorry, we require GNU Fortran version 4.9.1 or later." >&5
$as_echo "$as_me: Sorry, we require GNU Fortran version 4.9.1 or later." >&6;}
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
{ { $as_echo "$as_me:$LINENO: error: Sorry, we require GNU Fortran 4.6 or later." >&5
$as_echo "$as_me: error: Sorry, we require GNU Fortran 4.6 or later." >&2;}
{ { $as_echo "$as_me:$LINENO: error: Bailing out." >&5
$as_echo "$as_me: error: Bailing out." >&2;}
{ (exit 1); exit 1; }; }
fi

@ -260,7 +260,7 @@ fi
if test "X$psblas_cv_fc" == "Xgcc" ; then
PAC_HAVE_MODERN_GFORTRAN(
[],
[AC_MSG_ERROR([Sorry, we require GNU Fortran 4.6 or later.])]
[AC_MSG_ERROR([Bailing out.])]
)
fi
# TODO : SEE _AC_PROG_FC_V

Loading…
Cancel
Save