forked from mailru/graphite-nginx-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
26 lines (24 loc) · 894 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
ngx_feature="Graphite module"
have=NGX_GRAPHITE . auto/have
ngx_addon_name=ngx_http_graphite_module
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_graphite_module
ngx_module_incs="$ngx_addon_dir/src"
ngx_module_srcs="\
$ngx_addon_dir/src/ngx_http_graphite_allocator.c\
$ngx_addon_dir/src/ngx_http_graphite_array.c\
$ngx_addon_dir/src/ngx_http_graphite_module.c\
$ngx_addon_dir/src/ngx_http_graphite_net.c\
"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_graphite_module"
HTTP_INCS="$HTTP_INCS $ngx_addon_dir/src"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
$ngx_addon_dir/src/ngx_http_graphite_allocator.c \
$ngx_addon_dir/src/ngx_http_graphite_array.c \
$ngx_addon_dir/src/ngx_http_graphite_module.c \
$ngx_addon_dir/src/ngx_http_graphite_net.c \
"
fi