-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig
40 lines (37 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
39
40
ngx_addon_name=ngx_http_redirectionio_module
ngx_feature="Redirection IO library"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs=
ngx_feature_libs="-Wl,-Bstatic -lredirectionio -Wl,-Bdynamic -lm -lpthread"
ngx_module_incs=$ngx_addon_dir/src
ngx_feature_test=
. auto/feature
ngx_addon_name=ngx_http_redirectionio_module
_HTTP_REDIRECTIONIO_SRCS="\
$ngx_addon_dir/src/ngx_http_redirectionio_module.c \
$ngx_addon_dir/src/ngx_http_redirectionio_module_filter.c \
$ngx_addon_dir/src/ngx_http_redirectionio_module_pool.c \
$ngx_addon_dir/src/ngx_http_redirectionio_protocol.c \
$ngx_addon_dir/src/ngx_http_pool.c \
"
if [ $ngx_found = yes ]; then
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP_FILTER
ngx_module_name=$ngx_addon_name
ngx_module_order="$ngx_module_name ngx_http_write_filter"
ngx_module_deps=
ngx_module_srcs="$_HTTP_REDIRECTIONIO_SRCS"
ngx_module_libs="$ngx_feature_libs"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $_HTTP_REDIRECTIONIO_SRCS"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs $ngx_module_incs"
fi
else
cat << END
$0: error: the redirection io module requires the redirection io library.
END
exit 1
fi