aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@9e23cc15-e5c8-4d65-9080-beda90ea645b>2014-02-12 22:21:00 +0000
committerrhaas <rhaas@9e23cc15-e5c8-4d65-9080-beda90ea645b>2014-02-12 22:21:00 +0000
commite32a1c2bc30b774dab3483e3d5e56718354f1cc5 (patch)
tree65f9d5a2d56516110e63c8ac9be65bb1e6ca4b33
parentdf1d14e1bbb17c38dd133e2ec79e75e8a3441c2d (diff)
report missing PATCH or TAR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/GSL/trunk@45 9e23cc15-e5c8-4d65-9080-beda90ea645b
-rw-r--r--configure.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 150dbe8..a2f5c32 100644
--- a/configure.sh
+++ b/configure.sh
@@ -60,6 +60,23 @@ then
echo "Using bundled GSL..."
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=GSL
NAME=gsl-1.16