Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-07-08 19:57:36 +0400
committerIgor Sysoev <igor@sysoev.ru>2010-07-08 19:57:36 +0400
commit59bb78b951973379360ca6ea798d3aeb09c747cc (patch)
treef2428ef76cfe51bd35c261998c75273700cdacba /auto/lib/openssl
parentdb0efa80522cd612b677972457038cb177a444a4 (diff)
stop ./configure on Win32 if no library sources was specified,
the bug has been introduced in r2894
Diffstat (limited to 'auto/lib/openssl')
-rw-r--r--auto/lib/openssl/conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf
index 741e946f7..8218a5b97 100644
--- a/auto/lib/openssl/conf
+++ b/auto/lib/openssl/conf
@@ -54,7 +54,10 @@ else
have=NGX_SSL . auto/have
CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
OPENSSL=YES
- else
+ fi
+ fi
+
+ if [ $OPENSSL != YES ]; then
cat << END
@@ -64,8 +67,7 @@ into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.
END
- exit 1
- fi
+ exit 1
fi
fi