From 2e975d34c51617899fc5278f19b467e7f257d7cd Mon Sep 17 00:00:00 2001 From: schnetter Date: Sat, 10 Apr 2004 18:10:51 +0000 Subject: Clean up the check for PETSc. git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@83 1d96b42b-98df-4a6a-9d84-1b24288d4588 --- src/make.configuration.defn | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/make.configuration.defn b/src/make.configuration.defn index 7e21c8c..b67845e 100644 --- a/src/make.configuration.defn +++ b/src/make.configuration.defn @@ -1,11 +1,6 @@ # Main make.code.defn file for thorn CactusElliptic/EllPETSc # $Header$ - -# check if this was configured with PETSc, bail out if not -have_petsc := $(shell grep -s '\#define CCTK_PETSC 1' $(CONFIG)/cctk_Extradefs.h) - -ifeq ($(strip $(have_petsc)), ) -$(NAME): MissingPETSC - $(error"This configuration wasn't configured to use PETSc. Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList.") +ifeq ($(strip $(HAVE_PETSC)), ) + $(error This configuration was not configured to use PETSc. Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList) endif -- cgit v1.2.3