From d7a2ebee8a9709da3bb4cb6edd7c149314b3f21a Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 10 Mar 2004 14:37:08 +0000 Subject: Use $(error) instead of an unsatisfied dependency to report configuration errors. git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@81 1d96b42b-98df-4a6a-9d84-1b24288d4588 --- src/make.configuration.defn | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/make.configuration.defn b/src/make.configuration.defn index a954d1e..7e21c8c 100644 --- a/src/make.configuration.defn +++ b/src/make.configuration.defn @@ -7,9 +7,5 @@ have_petsc := $(shell grep -s '\#define CCTK_PETSC 1' $(CONFIG)/cctk_Extradefs.h ifeq ($(strip $(have_petsc)), ) $(NAME): MissingPETSC -.pseudo: MissingPETSC -MissingPETSC: - @echo "This configuration wasn't configured to use PETSC" - @echo "Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList !" - exit 2 + $(error"This configuration wasn't configured to use PETSc. Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList.") endif -- cgit v1.2.3