-
Notifications
You must be signed in to change notification settings - Fork 60
/
config
38 lines (36 loc) · 1.25 KB
/
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
30
31
32
33
34
35
36
37
38
ngx_feature="nginx_ajp_module"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs=
ngx_feature_path="$ngx_addon_dir"
ajp_deps="$ngx_addon_dir/ngx_http_ajp.h"
ajp_src="$ngx_addon_dir/ngx_http_ajp_msg.c $ngx_addon_dir/ngx_http_ajp.c"
ngx_feature_deps="$ngx_addon_dir/ngx_http_ajp_module.h $ngx_addon_dir/ngx_http_ajp_handler.h $ajp_deps"
ngx_ajp_src="$ajp_src $ngx_addon_dir/ngx_http_ajp_module.c $ngx_addon_dir/ngx_http_ajp_handler.c"
ngx_feature_test="int a;"
. auto/feature
if [ $ngx_found = yes ]; then
have=NGX_HTTP_AJP_TEMP_PATH value="\"ajp_temp\""
. auto/define
have=NGX_AJP_MODULE . auto/have
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_ajp_module
ngx_module_incs="$ngx_feature_path"
ngx_module_deps="$ngx_feature_deps"
ngx_module_srcs="$ngx_ajp_src"
ngx_module_libs="$ngx_feature_libs"
. auto/module
else
CORE_INCS="$CORE_INCS $ngx_feature_path"
ngx_addon_name=ngx_ajp_module
HTTP_MODULES="$HTTP_MODULES ngx_http_ajp_module"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_feature_deps"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_ajp_src"
fi
else
cat << END
$0: error: the ngx_ajp_module addon error.
END
exit 1
fi