aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@ba58616d-3abc-4c77-8745-3ba8ad4a582f>2014-02-12 23:49:39 +0000
committerrhaas <rhaas@ba58616d-3abc-4c77-8745-3ba8ad4a582f>2014-02-12 23:49:39 +0000
commit6da5dad34897af73fa633f83223c954ffd35da71 (patch)
tree5ba14702957a692d4e6f32262574d7b1614ffc99
parentf5f18895729275cc02838452aaa073b43fba9a48 (diff)
report missing PATCH or TAR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/libjpeg/trunk@40 ba58616d-3abc-4c77-8745-3ba8ad4a582f
-rwxr-xr-xconfigure.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 62e8ef9..d46fbcb 100755
--- a/configure.sh
+++ b/configure.sh
@@ -77,6 +77,23 @@ then
echo "Building libjpeg..."
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=libjpeg
NAME=jpeg-8c