aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@ba58616d-3abc-4c77-8745-3ba8ad4a582f>2013-04-10 15:14:14 +0000
committereschnett <eschnett@ba58616d-3abc-4c77-8745-3ba8ad4a582f>2013-04-10 15:14:14 +0000
commit7ccc5b61508033d44083ab3a76039e95f6703385 (patch)
tree4597bb3b4b67ee036cf8b8940932e0720b7760fd
parentc143ba754370b2f8e0a46e0cf73e790fca16ce64 (diff)
Do not search for existing library when NO_BUILD is given
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/libjpeg/trunk@27 ba58616d-3abc-4c77-8745-3ba8ad4a582f
-rwxr-xr-xconfigure.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index 703f3c7..d014575 100755
--- a/configure.sh
+++ b/configure.sh
@@ -10,9 +10,7 @@ if [ "$(echo ${VERBOSE} | tr '[:upper:]' '[:lower:]')" = 'yes' ]; then
fi
set -e # Abort on errors
-if [ -z "${LIBJPEG_DIR}" \
- -o "$(echo "${LIBJPEG_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ]
-then
+if [ -z "${LIBJPEG_DIR}" ]; then
echo "BEGIN MESSAGE"
echo "LIBJPEG selected, but LIBJPEG_DIR not set. Checking some places..."
echo "END MESSAGE"