forked from arduent/spnego-http-auth-nginx-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
22 lines (19 loc) · 702 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ngx_addon_name=ngx_http_auth_spnego_module
ngx_feature_libs="-lgssapi_krb5 -lkrb5 -lcom_err"
if uname -o | grep -q FreeBSD; then
ngx_feature_libs="$ngx_feature_libs -lgssapi"
fi
if uname -a | grep -q NetBSD; then
ngx_feature_libs="-lgssapi -lkrb5 -lcom_err"
fi
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_auth_spnego_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_auth_spnego_module.c"
ngx_module_libs="$ngx_feature_libs"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_spnego_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_spnego_module.c"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
fi