aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@fb53df36-e548-4a1e-8150-ab98cbd5e786>2014-02-12 22:21:14 +0000
committerrhaas <rhaas@fb53df36-e548-4a1e-8150-ab98cbd5e786>2014-02-12 22:21:14 +0000
commit4b2c6fc2afa6c728c67af2bb20edb53835dabe8b (patch)
treec5d01b16790fe97a100a542006ac358882f0604f
parentdb49f4d52d1e64adcd12e168cefbc9ab7249e09c (diff)
report missing PATCH or TAR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@84 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--configure.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 17ee104..1d47810 100644
--- a/configure.sh
+++ b/configure.sh
@@ -111,6 +111,23 @@ then
echo "Using bundled HDF5..."
echo "END MESSAGE"
+ # check for required tools. Do this here so that we don't require them when
+ # using the system library
+ if [ x$TAR = x ] ; then
+ echo 'BEGIN ERROR'
+ echo 'Could not find tar command. Please make sure that (gnu) tar is present'
+ echo 'and that the TAR variable is set to its location.'
+ echo 'END ERROR'
+ exit 1
+ fi
+ #if [ x$PATCH = x ] ; then
+ # echo 'BEGIN ERROR'
+ # echo 'Could not find patch command. Please make sure that (gnu) tar is present'
+ # echo 'and that the PATCH variable is set to its location.'
+ # echo 'END ERROR'
+ # exit 1
+ #fi
+
# Set locations
THORN=HDF5
NAME=hdf5-1.8.12