From 3e33d73c720ca8842178c27b3c1d35abe9cc386b Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Fri, 3 Jun 2016 09:38:16 +0000 Subject: [PATCH] psblas3: config/pac.m4 configure.ac configure Fix GFORTRAN version requirement --- config/pac.m4 | 3 ++- configure | 6 ++++-- configure.ac | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/pac.m4 b/config/pac.m4 index 75a1bdd5..0d5d151a 100644 --- a/config/pac.m4 +++ b/config/pac.m4 @@ -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.8.4 or later.]) echo "configure: failed program was:" >&AC_FD_CC cat conftest.$ac_ext >&AC_FD_CC ifelse([$2], , , [ $2])]) diff --git a/configure b/configure index 0386abd9..1d6566c6 100755 --- a/configure +++ b/configure @@ -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.8.4 or later." >&5 +$as_echo "$as_me: Sorry, we require GNU Fortran version 4.8.4 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.8.4 or later." >&5 -$as_echo "$as_me: error: Sorry, we require GNU Fortran 4.8.4 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 diff --git a/configure.ac b/configure.ac index 1d0b0110..666fbd43 100755 --- a/configure.ac +++ b/configure.ac @@ -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.8.4 or later.])] + [AC_MSG_ERROR([Bailing out.])] ) fi # TODO : SEE _AC_PROG_FC_V