Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2017-07-19 12:05:50 +0300
committerSamuel Martin <s.martin49@gmail.com>2017-07-19 12:05:50 +0300
commit82aa89566b60bf27e67c093297e3f742c283b17b (patch)
treeec2d6b9530d1bf736a558b72e4fe8059019eb5b0 /auto
parent9197a3c8741a8832e6f6ed24a72dc5b078d840fd (diff)
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 <s.martin49@gmail.com>
Diffstat (limited to 'auto')
-rw-r--r--auto/lib/conf2
1 files changed, 1 insertions, 1 deletions
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