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