-
Notifications
You must be signed in to change notification settings - Fork 5
/
config
26 lines (24 loc) · 1.35 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
ngx_addon_name=ngx_http_bot_verifier_module
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_bot_verifier_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_bot_verifier_module.c \
$ngx_addon_dir/ngx_http_bot_verifier_cache.c \
$ngx_addon_dir/ngx_http_bot_verifier_address_tools.c \
$ngx_addon_dir/ngx_http_bot_verifier_identifier.c \
$ngx_addon_dir/ngx_http_bot_verifier_verifier.c \
$ngx_addon_dir/ngx_http_bot_verifier_provider.c \
$ngx_addon_dir/ngx_http_bot_verifier_regex.c"
ngx_module_libs="-lhiredis"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_bot_verifier_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_bot_verifier_module.c \
$ngx_addon_dir/ngx_http_bot_verifier_cache.c \
$ngx_addon_dir/ngx_http_bot_verifier_address_tools.c \
$ngx_addon_dir/ngx_http_bot_verifier_identifier.c \
$ngx_addon_dir/ngx_http_bot_verifier_verifier.c \
$ngx_addon_dir/ngx_http_bot_verifier_provider.c \
$ngx_addon_dir/ngx_http_bot_verifier_regex.c"
CORE_LIBS="$CORE_LIBS -lhiredis"
fi