comparison config @ 20:b676808a49bc

Compatibility with nginx 1.9.10. This includes using HTTP_INIT_FILTER module type, and new style configuration to allow dynamic compilation.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 08 Feb 2016 19:27:18 +0300
parents 8aec31ab4d52
children
comparison
equal deleted inserted replaced
19:57365655ee44 20:b676808a49bc
1 # (C) Maxim Dounin 1 # (C) Maxim Dounin
2 # Configuration for ngx_http_bytes_filter_module. 2 # Configuration for ngx_http_bytes_filter_module.
3 3
4 ngx_addon_name="ngx_http_bytes_filter_module" 4 ngx_addon_name="ngx_http_bytes_filter_module"
5 5
6 if test -n "$ngx_module_link"; then
7
8 ngx_module_type=HTTP_INIT_FILTER
9 ngx_module_name=ngx_http_bytes_filter_module
10 ngx_module_incs=
11 ngx_module_deps=
12 ngx_module_srcs=$ngx_addon_dir/ngx_http_bytes_filter_module.c
13 ngx_module_libs=
14
15 . auto/module
16
17 else
18
6 HTTP_RANGE_BODY_FILTER_MODULE="$HTTP_RANGE_BODY_FILTER_MODULE \ 19 HTTP_RANGE_BODY_FILTER_MODULE="$HTTP_RANGE_BODY_FILTER_MODULE \
7 ngx_http_bytes_filter_module" 20 ngx_http_bytes_filter_module"
8
9 NGX_ADDON_SRCS="$NGX_ADDON_SRCS \ 21 NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
10 $ngx_addon_dir/ngx_http_bytes_filter_module.c" 22 $ngx_addon_dir/ngx_http_bytes_filter_module.c"
23
24 fi