1if [ "$HTTP_PROXY" = "YES" ]; then 2 have=NGX_HTTP_PROXY . auto/have 3fi 4 5if [ "$HTTP_FASTCGI" = "YES" ]; then 6 have=NGX_HTTP_FASTCGI . auto/have 7fi 8 9if [ "$HTTP_SCGI" = "YES" ]; then 10 have=NGX_HTTP_SCGI . auto/have 11fi 12 13if [ "$HTTP_UWSGI" = "YES" ]; then 14 have=NGX_HTTP_UWSGI . auto/have 15fi 16 17ngx_addon_name=ngx_http_cache_purge_module 18CACHE_PURGE_SRCS="$ngx_addon_dir/ngx_cache_purge_module.c" 19 20if [ -n "$ngx_module_link" ]; then 21 ngx_module_type=HTTP 22 ngx_module_name="$ngx_addon_name" 23 ngx_module_srcs="$CACHE_PURGE_SRCS" 24 25 . auto/module 26else 27 HTTP_MODULES="$HTTP_MODULES $ngx_addon_name" 28 NGX_ADDON_SRCS="$NGX_ADDON_SRCS $CACHE_PURGE_SRCS" 29fi 30 31have=NGX_CACHE_PURGE_MODULE . auto/have 32