diff options
author | rhaas <rhaas@d47fded2-66c1-406f-af09-4fc0800f9c6b> | 2014-02-12 23:49:51 +0000 |
---|---|---|
committer | rhaas <rhaas@d47fded2-66c1-406f-af09-4fc0800f9c6b> | 2014-02-12 23:49:51 +0000 |
commit | a9613fd3d36b5d04f3d8c145cfab7f8408654c8d (patch) | |
tree | ea1bb5f92052c56773d1c6b16a251a20714165f1 | |
parent | c7093dbe6f039ec3c37b675274cd9ac6144e7836 (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.sh | 17 |
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 |