mirror of
https://github.com/nginx/nginx.git
synced 2024-12-11 09:49:02 +08: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.
60 lines
1016 B
Plaintext
60 lines
1016 B
Plaintext
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
echo $ngx_n "checking for $ngx_include ...$ngx_c"
|
|
|
|
cat << END >> $NGX_AUTOCONF_ERR
|
|
|
|
----------------------------------------
|
|
checking for $ngx_include
|
|
|
|
END
|
|
|
|
|
|
ngx_found=no
|
|
|
|
cat << END > $NGX_AUTOTEST.c
|
|
|
|
#include <$ngx_include>
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|
|
|
|
END
|
|
|
|
|
|
ngx_test="$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c"
|
|
|
|
eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
|
|
|
|
if [ -x $NGX_AUTOTEST ]; then
|
|
|
|
ngx_found=yes
|
|
|
|
echo " found"
|
|
|
|
ngx_name=`echo $ngx_include | sed -e 's/\./_/' -e 's/\//_/' \
|
|
| tr '[a-z]' '[A-Z]'`
|
|
|
|
|
|
have=NGX_HAVE_$ngx_name . auto/have_headers
|
|
|
|
eval "NGX_INCLUDE_$ngx_name='#include <$ngx_include>'"
|
|
|
|
#STUB
|
|
eval "NGX_$ngx_name='#include <$ngx_include>'"
|
|
|
|
else
|
|
echo " not found"
|
|
|
|
echo "----------" >> $NGX_AUTOCONF_ERR
|
|
cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR
|
|
echo "----------" >> $NGX_AUTOCONF_ERR
|
|
echo $ngx_test >> $NGX_AUTOCONF_ERR
|
|
echo "----------" >> $NGX_AUTOCONF_ERR
|
|
fi
|
|
|
|
rm $NGX_AUTOTEST*
|