ngx_addon_name=ngx_http_srcache_filter_module HTTP_SRCACHE_FILTER_SRCS=" \ $ngx_addon_dir/src/ngx_http_srcache_filter_module.c \ $ngx_addon_dir/src/ngx_http_srcache_util.c \ $ngx_addon_dir/src/ngx_http_srcache_var.c \ $ngx_addon_dir/src/ngx_http_srcache_store.c \ $ngx_addon_dir/src/ngx_http_srcache_fetch.c \ $ngx_addon_dir/src/ngx_http_srcache_headers.c \ " HTTP_SRCACHE_FILTER_DEPS=" \ $ngx_addon_dir/src/ddebug.h \ $ngx_addon_dir/src/ngx_http_srcache_filter_module.h \ $ngx_addon_dir/src/ngx_http_srcache_util.h \ $ngx_addon_dir/src/ngx_http_srcache_var.h \ $ngx_addon_dir/src/ngx_http_srcache_fetch.h \ $ngx_addon_dir/src/ngx_http_srcache_store.h \ $ngx_addon_dir/src/ngx_http_srcache_headers.h \ " # nginx won't have HTTP_POSTPONE_FILTER_MODULE & HTTP_POSTPONE_FILTER_SRCS # defined since 1.9.11 if test -z "$HTTP_POSTPONE_FILTER_MODULE"; then HTTP_POSTPONE_FILTER_MODULE=ngx_http_postpone_filter_module HTTP_POSTPONE_FILTER_SRCS=src/http/ngx_http_postpone_filter_module.c fi # This module depends upon the postpone filter being activated if [ $HTTP_POSTPONE != YES ]; then HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_POSTPONE_FILTER_MODULE" HTTP_SRCS="$HTTP_SRCS $HTTP_POSTPONE_FILTER_SRCS" HTTP_POSTPONE=YES fi if [ -n "$ngx_module_link" ]; then ngx_module_type=HTTP_AUX_FILTER ngx_module_name=$ngx_addon_name ngx_module_srcs="$HTTP_SRCACHE_FILTER_SRCS" ngx_module_deps="$HTTP_SRCACHE_FILTER_DEPS" . auto/module else HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HTTP_SRCACHE_FILTER_SRCS" NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HTTP_SRCACHE_FILTER_DEPS" fi