]> git.kaiwu.me - nginx.git/commitdiff
Configure: fixed PCRE requirement check by ngx_http_rewrite_module.
authorSamuel Martin <s.martin49@gmail.com>
Wed, 19 Jul 2017 09:05:50 +0000 (12:05 +0300)
committerSamuel Martin <s.martin49@gmail.com>
Wed, 19 Jul 2017 09:05:50 +0000 (12:05 +0300)
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 <s.martin49@gmail.com>
auto/lib/conf

index 0b8545a3752f4a8e98db16e250f0dbcf23e7d1d8..2c7af104008b7c452453a7c998fe262db5041a61 100644 (file)
@@ -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