-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathconfig
58 lines (44 loc) · 1.24 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# shellcheck source=auto/rust
. $ngx_addon_dir/auto/rust
# ngx_addon_name determines the build directory and should be set before
# any modules are defined
ngx_addon_name=ngx_rust_examples
if [ $HTTP = YES ]; then
ngx_module_type=HTTP
ngx_module_incs=
ngx_module_deps=
ngx_module_order=
ngx_rust_target_type=EXAMPLE
ngx_rust_target_features=
if [ "$ngx_module_link" = DYNAMIC ]; then
ngx_module_name=ngx_http_async_module
ngx_module_libs="-lm"
ngx_rust_target_name=async
ngx_rust_module
fi
if :; then
ngx_module_name=ngx_http_awssigv4_module
ngx_module_libs="-lm"
ngx_rust_target_name=awssig
ngx_rust_module
fi
if :; then
ngx_module_name=ngx_http_curl_module
ngx_module_libs=
ngx_rust_target_name=curl
ngx_rust_module
fi
if :; then
ngx_module_name=ngx_http_upstream_custom_module
ngx_module_libs=
ngx_rust_target_name=upstream
ngx_rust_module
fi
if [ "$NGX_SYSTEM" = Linux ]; then
ngx_module_name=ngx_http_orig_dst_module
ngx_module_libs=
ngx_rust_target_name=httporigdst
ngx_rust_target_features=linux
ngx_rust_module
fi
fi