mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
0e5dc5cff6
*) Change: the "valid_referers" directive and the "$invalid_referer" variable were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module. *) Change: the "$apache_bytes_sent" variable name was changed to "$body_bytes_sent". *) Feature: the "$sent_http_..." variables. *) Feature: the "if" directive supports the "=" and "!=" operations. *) Feature: the "proxy_pass" directive supports the HTTPS protocol. *) Feature: the "proxy_set_body" directive. *) Feature: the "post_action" directive. *) Feature: the ngx_http_empty_gif_module. *) Feature: the "worker_cpu_affinity" directive for Linux. *) Bugfix: the "rewrite" directive did not unescape URI part in redirect, now it is unescaped except the %00-%25 and %7F-%FF characters. *) Bugfix: nginx could not be built by the icc 9.0 compiler. *) Bugfix: if the SSI was enabled for zero size static file, then the chunked response was encoded incorrectly.
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
if [ $OPENSSL != NONE ]; then
|
|
CORE_INCS="$CORE_INCS $OPENSSL/include"
|
|
|
|
case "$CC" in
|
|
*)
|
|
have=NGX_OPENSSL . auto/have
|
|
have=NGX_SSL . auto/have
|
|
LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
|
|
CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
|
|
;;
|
|
esac
|
|
|
|
case "$NGX_SYSTEM" in
|
|
SunOS|Linux)
|
|
CORE_LIBS="$CORE_LIBS -ldl"
|
|
;;
|
|
esac
|
|
|
|
|
|
else
|
|
|
|
if [ "$NGX_PLATFORM" != win32 ]; then
|
|
OPENSSL=NO
|
|
|
|
ngx_feature="OpenSSL library"
|
|
ngx_feature_name="NGX_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_SSL . auto/have
|
|
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
|
|
OPENSSL=YES
|
|
|
|
case "$NGX_SYSTEM" in
|
|
SunOS)
|
|
CORE_LIBS="$CORE_LIBS -ldl"
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|