aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@d47fded2-66c1-406f-af09-4fc0800f9c6b>2014-02-12 23:49:51 +0000
committerrhaas <rhaas@d47fded2-66c1-406f-af09-4fc0800f9c6b>2014-02-12 23:49:51 +0000
commita9613fd3d36b5d04f3d8c145cfab7f8408654c8d (patch)
treeea1bb5f92052c56773d1c6b16a251a20714165f1
parentc7093dbe6f039ec3c37b675274cd9ac6144e7836 (diff)
report missing PATCH or TAR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/zlib/trunk@41 d47fded2-66c1-406f-af09-4fc0800f9c6b
-rw-r--r--configure.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 0b87ae9..80aeec0 100644
--- a/configure.sh
+++ b/configure.sh
@@ -78,6 +78,23 @@ then
echo "Building zlib..."
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=zlib
NAME=zlib-1.2.8