aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2012-04-24 21:09:04 +0000
committereschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2012-04-24 21:09:04 +0000
commit9fced58755a11c23ed859bdded97dbb4ca46c6c4 (patch)
tree171fe11728cd5837aec004093ec75993c026bd34
parent67951704e0ed95a69930fb8d00dfc0a72127e093 (diff)
Do not install h5check if it is not available
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@51 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--src/make.configuration.defn6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
index 8e3fc2c..4ef79b0 100644
--- a/src/make.configuration.defn
+++ b/src/make.configuration.defn
@@ -2,7 +2,11 @@
# Define standard HDF5 utilities
ALL_UTILS += gif2h5 h52gif h5copy h5debug h5diff h5dump h5import h5jam h5ls h5mkgrp h5perf_serial h5redeploy h5repack h5repart h5stat h5unjam
-#ALL_UTILS += h5check
+
+# Install h5check only if it exists
+ifneq ($(wildcard $(HDF5_DIR)/bin/h5check*),)
+ALL_UTILS += h5check
+endif
# Ignore some of the utilities that we don't use, e.g. the compiler
# wrappers: