diff options
author | schnetter <schnetter@1d96b42b-98df-4a6a-9d84-1b24288d4588> | 2004-04-10 18:10:51 +0000 |
---|---|---|
committer | schnetter <schnetter@1d96b42b-98df-4a6a-9d84-1b24288d4588> | 2004-04-10 18:10:51 +0000 |
commit | 2e975d34c51617899fc5278f19b467e7f257d7cd (patch) | |
tree | f1381a9942d9beee816d6ae6d719103ea7e5985d | |
parent | d7a2ebee8a9709da3bb4cb6edd7c149314b3f21a (diff) |
Clean up the check for PETSc.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@83 1d96b42b-98df-4a6a-9d84-1b24288d4588
-rw-r--r-- | src/make.configuration.defn | 9 |
1 files 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 |