Mercurial > hg > nginx-vendor-current
diff src/http/ngx_http_variables.c @ 552:43e02819c5cf NGINX_0_8_28
nginx 0.8.28
*) Bugfix: nginx could not be built with the --without-pcre parameter;
the bug had appeared in 0.8.25.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Nov 2009 00:00:00 +0300 |
parents | ab7d265273ed |
children | daf4847b43ff |
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -1666,6 +1666,8 @@ ngx_http_variable_pid(ngx_http_request_t } +#if (NGX_PCRE) + static ngx_int_t ngx_http_variable_not_found(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data) @@ -1816,6 +1818,8 @@ ngx_http_regex_exec(ngx_http_request_t * return NGX_OK; } +#endif + ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf)