aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@53307013-940b-43fa-b11d-2c2b05dfe90d>2014-02-12 22:20:16 +0000
committerrhaas <rhaas@53307013-940b-43fa-b11d-2c2b05dfe90d>2014-02-12 22:20:16 +0000
commitbac4fcc52af6bcea99375c649cff350ea0241d93 (patch)
treeb1e8e414e9cdbea517a6eaf14d1aae5c83bc9605
parent4b083536009903813a99649a3057d49972cb301c (diff)
report missing PATCH or TAR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@44 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r--configure.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 0182b89..016da5f 100644
--- a/configure.sh
+++ b/configure.sh
@@ -56,6 +56,23 @@ then
echo "Using bundled BLAS..."
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=BLAS
NAME=blas-3.4.2