diff options
author | bmundim <bmundim@091d3ff0-52bc-4db5-b7a6-18201e4c0cca> | 2013-03-28 18:15:01 +0000 |
---|---|---|
committer | bmundim <bmundim@091d3ff0-52bc-4db5-b7a6-18201e4c0cca> | 2013-03-28 18:15:01 +0000 |
commit | 760573a4e19bfc5c0af7e45075761ef6046f2418 (patch) | |
tree | e77419adc2d58e1e6b5746604651403e883533c8 | |
parent | e5f837b3341529adfc5750dc3df4c2be3e8776ef (diff) |
Add NO_BUILD option.
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/OpenSSL/trunk@41 091d3ff0-52bc-4db5-b7a6-18201e4c0cca
-rw-r--r-- | configure.sh | 4 |
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" |