forked from ZigzagAK/ngx_zookeeper_upstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
23 lines (18 loc) · 724 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
ngx_addon_name=ngx_zookeeper_upstream_module
HTTP_ZOOKEEPER_UPSTREAM_SRCS="$ngx_addon_dir/ngx_zookeeper_upstream_module.c"
ZOO_REQUIRED_INCS="$ZOO_PREFIX/include"
ZOO_REQUIRED_LIBS="-L$ZOO_PREFIX/lib -lzookeeper_mt"
CORE_INCS="$CORE_INCS $ngx_addon_dir"
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=$ngx_addon_name
ngx_module_srcs="$HTTP_ZOOKEEPER_UPSTREAM_SRCS"
ngx_module_incs="$ZOO_REQUIRED_INCS"
ngx_module_libs="$ZOO_REQUIRED_LIBS"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HTTP_ZOOKEEPER_UPSTREAM_SRCS"
CORE_INCS="$CORE_INCS $ZOO_REQUIRED_INCS"
CORE_LIBS="$CORE_LIBS $ZOO_REQUIRED_LIBS"
fi