From 48ba45ddef6b3be05a18a82bb9a3039044d8a13e Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 8 Nov 2004 10:31:51 +0000 Subject: Test the makefile variable HAVE_HDF5_STREAM_VFD to check for the availability of the Stream VFD. This makefile variable is set by the Cactus HDF5 configure script. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@111 0888f3d4-9f52-45d2-93bc-d00801ff5e46 --- src/make.configuration.defn | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/make.configuration.defn b/src/make.configuration.defn index fbafb98..ae1afdf 100644 --- a/src/make.configuration.defn +++ b/src/make.configuration.defn @@ -2,8 +2,6 @@ # $Header$ # make sure that the HDF5 Stream Virtual File Driver is available -stream_support := $(shell grep -s '\#define H5_HAVE_STREAM 1' $(HDF5_INC_DIRS)/H5pubconf.h) - -ifeq ($(strip $(stream_support)),) - $(error "IOStreamedHDF5 requires an HDF5 installation with built-in Stream Virtual File Driver. Please reconfigure with an appropriate HDF5 installation or remove IOStreamedHDF5 from ThornList !") +ifeq ($(strip $(HAVE_HDF5_STREAM_VFD)),) + $(error 'IOStreamedHDF5 requires an HDF5 installation with built-in Stream Virtual File Driver. Please reconfigure with an appropriate HDF5 installation or remove IOStreamedHDF5 from ThornList !') endif -- cgit v1.2.3