forked from liseen/set-cconv-nginx-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
executable file
·26 lines (21 loc) · 948 Bytes
/
config
File metadata and controls
executable file
·26 lines (21 loc) · 948 Bytes
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
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs="#include <cconv.h>"
ngx_feature_test="cconv_open"
# auto-discovery
ngx_feature="libcconv library"
ngx_feature_path=
ngx_feature_libs="-lcconv"
. auto/feature
if [ $ngx_found = no ]; then
# Debian
ngx_feature="libcconv library in /usr/local/"
ngx_feature_path="/usr/local/include/"
ngx_feature_libs="/usr/local/lib/"
. auto/feature
fi
ngx_addon_name=ngx_http_set_cconv_module
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_set_cconv_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_set_cconv.c $ngx_addon_dir/src/ngx_http_set_cconv_module.c $ngx_addon_dir/src/ngx_http_set_pinyin.c $ngx_addon_dir/src/gperf_pinyin_lookup.c"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/src/ddebug.h $ngx_addon_dir/src/ngx_http_set_cconv.h $ngx_addon_dir/src/ngx_http_set_pinyin.h $ngx_addon_dir/src/gperf_pinyin_lookup.h"
CFLAGS="$CFLAGS -DNDK_SET_VAR"