-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig
29 lines (23 loc) · 936 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#module config script
ngx_addon_name=ngx_stream_upstream_check_module
ngx_feature_path="$ngx_addon_dir"
ngx_feature_deps="$ngx_addon_dir/ngx_stream_upstream_check_module.h "
ngx_feature_src="$ngx_addon_dir/ngx_stream_upstream_check_module.c "
have=NGX_STREAM_UPSTREAM_CHECK . auto/have
if [ "$ngx_module_link" = DYNAMIC ]; then
#first module name as main module name.
ngx_module_name="ngx_stream_upstream_check_module
ngx_stream_upstream_check_status_module"
ngx_module_incs="$ngx_feature_path"
ngx_module_srcs="$ngx_feature_src"
ngx_module_deps="$ngx_feature_deps"
ngx_module_libs=
. auto/module
else
STREAM_MODULES="$STREAM_MODULES ngx_stream_upstream_check_module"
HTTP_MODULES="$HTTP_MODULES ngx_stream_upstream_check_status_module"
CORE_INCS="$CORE_INCS $ngx_feature_path"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_feature_deps"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_feature_src"
fi
#end