aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2014-02-23 15:46:44 +0000
committereschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2014-02-23 15:46:44 +0000
commit6ffb15e16513ff82d495881a3df733c2ad6064e1 (patch)
treee68d92605e3f3b2ecee255cb48ad88b816703202
parentf05ca52ea1919a1eaa31484436da6ae46afff9f6 (diff)
Check whether the utilities directory exists before using it
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@87 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--src/make.configuration.defn2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
index ff7d9d6..1111235 100644
--- a/src/make.configuration.defn
+++ b/src/make.configuration.defn
@@ -3,7 +3,9 @@
# Define standard HDF5 utilities and install those that we could build/that are
# present in the system
STD_HDF5_UTILS = gif2h5 h52gif h5copy h5debug h5diff h5dump h5import h5jam h5ls h5mkgrp h5perf_serial h5redeploy h5repack h5repart h5stat h5unjam
+ifneq ($(wildcard $(HDF5_DIR)/bin/*),)
ALL_UTILS += $(shell cd $(HDF5_DIR)/bin; ls 2>/dev/null $(STD_HDF5_UTILS))
+endif
# Install h5check only if it exists
ifneq ($(wildcard $(HDF5_DIR)/bin/h5check*),)