Mercurial > hg > nginx
diff auto/lib/openssl/make @ 1005:89ceaab8223a
do not build OpenSSL with threads, if they are not used
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 10 Jan 2007 15:21:44 +0000 |
parents | 4e296b7d25bf |
children | 41f993457021 |
line wrap: on
line diff
--- a/auto/lib/openssl/make +++ b/auto/lib/openssl/make @@ -8,9 +8,10 @@ else NGX_OPENSSL_CONFIG="./config" fi -if test -n "$USE_THREADS"; then - NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads" -fi +case $USE_THREADS in + NO) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG no-threads" ;; + *) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads" ;; +esac case "$NGX_PLATFORM" in *)