aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index 5a463d0..4d1b4e1 100755
--- a/configure.sh
+++ b/configure.sh
@@ -11,13 +11,12 @@ fi
set -e # Abort on errors
+
################################################################################
# Search
################################################################################
-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"