diff options
Diffstat (limited to 'auto/lib/openssl/conf')
| -rw-r--r-- | auto/lib/openssl/conf | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf index 37c084f00..8ef4f3af9 100644 --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -19,23 +19,22 @@ if [ $OPENSSL != NONE ]; then else if [ $PLATFORM != win32 ]; then - OPENSSL=NO - ngx_lib_cflags= - - ngx_lib_inc="#include <openssl/ssl.h>" - ngx_lib="OpenSSL library" - ngx_lib_test="SSL_library_init()" - ngx_libs="-lssl -lcrypto" - . auto/lib/test + OPENSSL=NO + ngx_feature="OpenSSL library" + ngx_feature_name="OpenSSL" + ngx_feature_run=no + ngx_feature_incs="#include <openssl/ssl.h>" + ngx_feature_libs="-lssl -lcrypto" + ngx_feature_test="SSL_library_init()" + . auto/feature if [ $ngx_found = yes ]; then have=NGX_OPENSSL . auto/have CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" - CORE_LIBS="$CORE_LIBS $ngx_libs" + CORE_LIBS="$CORE_LIBS $ngx_feature_libs" OPENSSL=YES - ngx_found=no fi fi |
