From bd344478ce58e2c3bb9e2dc0e40b8b5e3c798143 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Wed, 5 Apr 2017 12:19:17 +0000 Subject: [PATCH] psblas3-cbind: configure.ac configure Configure fix for move_alloc --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 00b83c95..4dd915f4 100755 --- a/configure +++ b/configure @@ -8690,7 +8690,7 @@ $as_echo "$ac_try_echo") >&5 } && test -s conftest.$ac_objext; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } - FDEFINES="$psblas_cv_define_prepend-DHAVE_MOVE_ALLOC $FDEFINES" + : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 diff --git a/configure.ac b/configure.ac index bd4c0452..72ea3e35 100755 --- a/configure.ac +++ b/configure.ac @@ -570,7 +570,7 @@ PAC_FORTRAN_TEST_SOURCE( ) PAC_FORTRAN_HAVE_MOVE_ALLOC( - [FDEFINES="$psblas_cv_define_prepend-DHAVE_MOVE_ALLOC $FDEFINES"], + [], [AC_MSG_ERROR([Sorry, cannot build PSBLAS without support for MOVE_ALLOC. Please get a Fortran compiler that supports it, e.g. GNU Fortran 4.8.])] )