From 9ad6422ae59c9d449595fe9e81851b110ea58eeb Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Wed, 5 Apr 2017 12:36:52 +0000 Subject: [PATCH] psblas3: 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 8dbf7811..d76dac22 100755 --- a/configure +++ b/configure @@ -7994,7 +7994,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 2590f3e2..d98cbd90 100755 --- a/configure.ac +++ b/configure.ac @@ -564,7 +564,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.])] )