From: Samuel Martin Date: Wed, 19 Jul 2017 09:05:50 +0000 (+0300) Subject: Configure: fixed PCRE requirement check by ngx_http_rewrite_module. X-Git-Tag: release-1.13.4~15 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=82aa89566b60bf27e67c093297e3f742c283b17b;p=nginx.git Configure: fixed PCRE requirement check by ngx_http_rewrite_module. The http_rewrite module cannot be selected when http is disabled. Fixed the PCRE check condition to avoid irrelevant check failure. This is a regression from 4d874b4d82ed. Signed-off-by: Samuel Martin --- diff --git a/auto/lib/conf b/auto/lib/conf index 0b8545a37..2c7af1040 100644 --- a/auto/lib/conf +++ b/auto/lib/conf @@ -7,7 +7,7 @@ if [ $USE_PCRE = YES -o $PCRE != NONE ]; then . auto/lib/pcre/conf else - if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then + if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then cat << END