Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fed751a

Browse files
committed
now we check the ngx_devel_kit dependency at config time and provide a more friendly error message if it is missing.
1 parent 55a9dc3 commit fed751a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
if echo $HTTP_MODULES | grep " ndk_http_module" > /dev/null; then
2+
echo "found ngx_devel_kit for ngx_array_var; looks good."
3+
else
4+
echo "error: ngx_devel_kit is required to build ngx_array_var; please put it before ngx_array_var." 1>&2
5+
exit 1
6+
fi
7+
18
ngx_addon_name=ngx_http_array_var_module
29
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_array_var_module"
310
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_array_var_module.c $ngx_addon_dir/src/ngx_http_array_var_util.c"

0 commit comments

Comments
 (0)