summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-05 19:32:50 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-05 19:32:50 +0000
commite24b57ad9f06e5e48eda02f0d79a922797a68a87 (patch)
treeca74c61200f3ef394a1b06adb2ea19725c347ce4 /auto
parent36876c3d6c324f4f4f338b41e4b9376b0ad028bc (diff)
ngx_cpp_test_module
Diffstat (limited to 'auto')
-rw-r--r--auto/modules5
-rw-r--r--auto/options3
-rw-r--r--auto/sources1
3 files changed, 9 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 0c2a3678..36ed53f5 100644
--- a/auto/modules
+++ b/auto/modules
@@ -392,6 +392,11 @@ if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then
fi
+if [ $NGX_CPP_TEST_MODULE = YES ]; then
+ NGX_MISC_SRCS="$NGX_MISC_SRCS $NGX_CPP_TEST_SRCS"
+fi
+
+
cat << END > $NGX_MODULES_C
#include <ngx_config.h>
diff --git a/auto/options b/auto/options
index 1498243b..b99e904e 100644
--- a/auto/options
+++ b/auto/options
@@ -119,6 +119,7 @@ NGX_PERL=perl
USE_LIBXSLT=NO
NGX_GOOGLE_PERFTOOLS=NO
+NGX_CPP_TEST=NO
NGX_CPU_CACHE_LINE=
@@ -208,6 +209,7 @@ do
--without-mail_smtp_module) MAIL_SMTP=NO ;;
--with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;;
+ --with-cpp_test_module) NGX_CPP_TEST_MODULE=YES ;;
--add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
@@ -327,6 +329,7 @@ cat << END
--without-mail_smtp_module disable ngx_mail_smtp_module
--with-google_perftools_module enable ngx_google_perftools_module
+ --with-cpp_test_module enable ngx_cpp_test_module
--add-module=PATH enable an external module
diff --git a/auto/sources b/auto/sources
index 82734ddb..66859ae4 100644
--- a/auto/sources
+++ b/auto/sources
@@ -474,3 +474,4 @@ MAIL_PROXY_SRCS="src/mail/ngx_mail_proxy_module.c"
NGX_GOOGLE_PERFTOOLS_MODULE=ngx_google_perftools_module
NGX_GOOGLE_PERFTOOLS_SRCS=src/misc/ngx_google_perftools_module.c
+NGX_CPP_TEST_SRCS=src/misc/ngx_cpp_test_module.cpp