aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
diff options
context:
space:
mode:
Diffstat (limited to 'src/make.configuration.defn')
-rw-r--r--src/make.configuration.defn9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
new file mode 100644
index 0000000..a8db886
--- /dev/null
+++ b/src/make.configuration.defn
@@ -0,0 +1,9 @@
+# make.configuration.defn for IOStreamedHDF5
+# $Header$
+
+# make sure that the HDF5 Stream Virtual File Driver is available
+stream_support := $(shell grep '\#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 !")
+endif