Welcome! Log In Create A New Profile

Advanced

[nginx] Modules compatibility: --with-compat configure option.

October 03, 2016 09:02AM
details: http://hg.nginx.org/nginx/rev/57c8e12c460c
branches:
changeset: 6716:57c8e12c460c
user: Maxim Dounin <mdounin@mdounin.ru>
date: Mon Oct 03 15:58:16 2016 +0300
description:
Modules compatibility: --with-compat configure option.

diffstat:

auto/modules | 12 ++++++++++++
auto/options | 6 ++++++
2 files changed, 18 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r d200a0fd00b7 -r 57c8e12c460c auto/modules
--- a/auto/modules Thu Sep 29 15:28:24 2016 +0300
+++ b/auto/modules Mon Oct 03 15:58:16 2016 +0300
@@ -1312,6 +1312,18 @@ fi
modules="$modules $MISC_MODULES"


+if [ $NGX_COMPAT = YES ]; then
+ have=NGX_COMPAT . auto/have
+ have=NGX_HTTP_GZIP . auto/have
+ have=NGX_HTTP_DAV . auto/have
+ have=NGX_HTTP_REALIP . auto/have
+ have=NGX_HTTP_X_FORWARDED_FOR . auto/have
+ have=NGX_HTTP_HEADERS . auto/have
+ have=NGX_HTTP_UPSTREAM_ZONE . auto/have
+ have=NGX_STREAM_UPSTREAM_ZONE . auto/have
+fi
+
+
cat << END > $NGX_MODULES_C

#include <ngx_config.h>
diff -r d200a0fd00b7 -r 57c8e12c460c auto/options
--- a/auto/options Thu Sep 29 15:28:24 2016 +0300
+++ b/auto/options Mon Oct 03 15:58:16 2016 +0300
@@ -134,6 +134,8 @@ NGX_ADDONS=
NGX_ADDON_DEPS=
DYNAMIC_ADDONS=

+NGX_COMPAT=NO
+
USE_PCRE=NO
PCRE=NONE
PCRE_OPT=
@@ -325,6 +327,8 @@ use the \"--with-mail_ssl_module\" optio
--add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
--add-dynamic-module=*) DYNAMIC_ADDONS="$DYNAMIC_ADDONS $value" ;;

+ --with-compat) NGX_COMPAT=YES ;;
+
--with-cc=*) CC="$value" ;;
--with-cpp=*) CPP="$value" ;;
--with-cc-opt=*) NGX_CC_OPT="$value" ;;
@@ -532,6 +536,8 @@ cat << END
--add-module=PATH enable external module
--add-dynamic-module=PATH enable dynamic external module

+ --with-compat dynamic modules compatibility
+
--with-cc=PATH set C compiler pathname
--with-cpp=PATH set C preprocessor pathname
--with-cc-opt=OPTIONS set additional C compiler options

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

[nginx] Modules compatibility: --with-compat configure option.

ru@nginx.com 1064 October 03, 2016 09:02AM



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

Online Users

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