Welcome! Log In Create A New Profile

Advanced

[PATCH] auto/lib/conf: fix PCRE condition WRT the http and http_rewrite options

Samuel Martin
July 14, 2017 06:10AM
http_rewrite module cannot be selected when http server is disabled, so
fix the PCRE check condition to avoid irrelevant check failure.

Fixes:
http://autobuild.buildroot.net/results/bc7/bc7458b97a88785653845afd30fe9d5f3a69905b/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
auto/lib/conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auto/lib/conf b/auto/lib/conf
index 0b8545a3..2c7af104 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

--
2.13.2

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

[PATCH] auto/lib/conf: fix PCRE condition WRT the http and http_rewrite options

Samuel Martin 512 July 14, 2017 06:10AM

Re: [PATCH] auto/lib/conf: fix PCRE condition WRT the http and http_rewrite options

Maxim Dounin 283 July 14, 2017 06:26AM

Re: [PATCH] auto/lib/conf: fix PCRE condition WRT the http and http_rewrite options

ru@nginx.com 417 July 15, 2017 06:38AM

Re: [PATCH] auto/lib/conf: fix PCRE condition WRT the http and http_rewrite options

ru@nginx.com 487 July 19, 2017 05:12AM



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

Online Users

Guests: 187
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