add -DNGINX_ALLOW_REQUEST_BODY_UPDATING to CFLAGS if ngx_lua is enabled.

This commit is contained in:
agentzh (章亦春) 2011-10-21 20:43:55 +08:00
parent 246333133a
commit b0cfa8da4f
1 changed files with 1 additions and 0 deletions

1
util/configure vendored
View File

@ -581,6 +581,7 @@ _END_
ngx_lua_dquote='"'
CFLAGS="\$CFLAGS -DLUA_DEFAULT_PATH='\$ngx_lua_dquote$lualib_prefix/?.lua\$ngx_lua_dquote'"
CFLAGS="\$CFLAGS -DLUA_DEFAULT_CPATH='\$ngx_lua_dquote$lualib_prefix/?.so\$ngx_lua_dquote'"
CFLAGS="\$CFLAGS -DNGINX_ALLOW_REQUEST_BODY_UPDATING"
_EOC_
close $in;