1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
ngx_addon_name=ngx_http_auth_pam_module
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_auth_pam_module
ngx_module_incs=
ngx_module_deps=
ngx_module_srcs="$ngx_addon_dir/ngx_http_auth_pam_module.c"
ngx_module_libs="-lpam"
ngx_module_order="$ngx_module_name ngx_http_access_module"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_pam_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_pam_module.c"
CORE_LIBS="$CORE_LIBS -lpam"
fi
|