aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2014-02-12 22:21:30 +0000
committerrhaas <rhaas@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2014-02-12 22:21:30 +0000
commitcd65e9ffd8d474dcf6753055854ef727618cb5d5 (patch)
treed1d25af501070a9f3537e82420f39751300c61b6
parent0e1ea1ab6fe1f1a029bfc76ea57ab711213d7024 (diff)
report missing PATCH or TAR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LAPACK/trunk@46 c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb
-rw-r--r--configure.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index b586a9f..09090dd 100644
--- a/configure.sh
+++ b/configure.sh
@@ -56,6 +56,23 @@ then
echo "Using bundled LAPACK..."
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=LAPACK
NAME=lapack-3.4.2