aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index 3202d02..d13f8f8 100644
--- a/configure.sh
+++ b/configure.sh
@@ -16,9 +16,7 @@ set -e # Abort on errors
# Search
################################################################################
-if [ -z "${ZLIB_DIR}" \
- -o "$(echo "${ZLIB_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ]
-then
+if [ -z "${ZLIB_DIR}" ]; then
echo "BEGIN MESSAGE"
echo "zlib selected, but ZLIB_DIR not set. Checking some places..."
echo "END MESSAGE"