Mercurial > hg > nginx
comparison auto/lib/conf @ 7068:cc7ff76df927
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>
author | Samuel Martin <s.martin49@gmail.com> |
---|---|
date | Wed, 19 Jul 2017 12:05:50 +0300 |
parents | 9eefb38f0005 |
children |
comparison
equal
deleted
inserted
replaced
7067:e3723f2a11b7 | 7068:cc7ff76df927 |
---|---|
5 | 5 |
6 if [ $USE_PCRE = YES -o $PCRE != NONE ]; then | 6 if [ $USE_PCRE = YES -o $PCRE != NONE ]; then |
7 . auto/lib/pcre/conf | 7 . auto/lib/pcre/conf |
8 | 8 |
9 else | 9 else |
10 if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then | 10 if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then |
11 | 11 |
12 cat << END | 12 cat << END |
13 | 13 |
14 $0: error: the HTTP rewrite module requires the PCRE library. | 14 $0: error: the HTTP rewrite module requires the PCRE library. |
15 You can either disable the module by using --without-http_rewrite_module | 15 You can either disable the module by using --without-http_rewrite_module |