aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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