Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: fixed PCRE requirement check by ngx_http_rewrite_module.

July 19, 2017 05:08AM
details: http://hg.nginx.org/nginx/rev/cc7ff76df927
branches:
changeset: 7068:cc7ff76df927
user: Samuel Martin <s.martin49@gmail.com>
date: Wed Jul 19 12:05:50 2017 +0300
description:
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:

auto/lib/conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e3723f2a11b7 -r cc7ff76df927 auto/lib/conf
--- a/auto/lib/conf Mon Jul 17 17:23:51 2017 +0300
+++ b/auto/lib/conf Wed Jul 19 12:05:50 2017 +0300
@@ -7,7 +7,7 @@ if [ $USE_PCRE = YES -o $PCRE != NONE ];
. 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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: fixed PCRE requirement check by ngx_http_rewrite_module.

ru@nginx.com 659 July 19, 2017 05:08AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready