From b7035ac50815c2f081a6130b3cd29c9c3533d4ab Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 29 Sep 2000 22:19:33 +0000 Subject: Fixed dependency checking for MPI. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@15 38c3d835-c875-442e-b0fe-21c19ce1d001 --- src/make.configuration.defn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/make.configuration.defn') diff --git a/src/make.configuration.defn b/src/make.configuration.defn index 5fe526e..d2ad580 100644 --- a/src/make.configuration.defn +++ b/src/make.configuration.defn @@ -10,8 +10,8 @@ MissingPUGHinIOPanda: exit 2 endif -ifeq ($(strip $(MPI_LIBS)), ) -$(NAME): MissingMPIinIOPanda +MPI_CONFIGURED := $(shell grep CCTK_MPI $(CONFIG)/cctk_Extradefs.h) +ifneq ("$(MPI_CONFIGURED)", "\#define CCTK_MPI CCTK_MPI") .pseudo: MissingMPIinIOPanda MissingMPIinIOPanda: @echo "IOPanda: requires MPI" -- cgit v1.2.3