aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2004-11-08 10:31:51 +0000
committertradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2004-11-08 10:31:51 +0000
commit48ba45ddef6b3be05a18a82bb9a3039044d8a13e (patch)
treecf6d702d00face7be5257ee27e16e2168ed9512d
parentf910f7eea5e3dd6c2033423c4f5db8c4ce6a7919 (diff)
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
-rw-r--r--src/make.configuration.defn6
1 files 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