view 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
line wrap: on
line source

# (C) Maxim Dounin
# Configuration for ngx_http_bytes_filter_module.

ngx_addon_name="ngx_http_bytes_filter_module"

if test -n "$ngx_module_link"; then

ngx_module_type=HTTP_INIT_FILTER
ngx_module_name=ngx_http_bytes_filter_module
ngx_module_incs=
ngx_module_deps=
ngx_module_srcs=$ngx_addon_dir/ngx_http_bytes_filter_module.c
ngx_module_libs=

. auto/module

else

HTTP_RANGE_BODY_FILTER_MODULE="$HTTP_RANGE_BODY_FILTER_MODULE \
		ngx_http_bytes_filter_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
		$ngx_addon_dir/ngx_http_bytes_filter_module.c"

fi