[PATCH] Configure: Add option to build without http_slice module

Thomas D. whissi at whissi.de
Sat Feb 6 20:53:31 UTC 2016


# HG changeset patch
# User Thomas D. <whissi at whissi.de>
# Date 1454790517 -3600
#      Sat Feb 06 21:28:37 2016 +0100
# Node ID 5215fb0cdfd367c8cd4ab1c56a7ef5e19005e8b9
# Parent  3577c021f21eb4de6d09c1d624ba77ee9ee1eb6d
Configure: Add option to build without http_slice module

In Gentoo we explicitly enable and disable modules we use or don't use.

The newly added HTTP slice module was added without an option to disable
the module resulting in an error like

> ./configure: error: invalid option "--without-http_slice_module"

This commit adds an option "--without-http_slice_module" to allow users to
explicitly disable the module like others.


Bug: https://bugs.gentoo.org/show_bug.cgi?id=574020

diff -r 3577c021f21e -r 5215fb0cdfd3 auto/options
--- a/auto/options	Fri Feb 05 21:48:25 2016 +0300
+++ b/auto/options	Sat Feb 06 21:28:37 2016 +0100
@@ -243,6 +243,7 @@
 
         --without-http_charset_module)   HTTP_CHARSET=NO            ;;
         --without-http_gzip_module)      HTTP_GZIP=NO               ;;
+        --without-http_slice_module)     HTTP_SLICE=NO              ;;
         --without-http_ssi_module)       HTTP_SSI=NO                ;;
         --without-http_userid_module)    HTTP_USERID=NO             ;;
         --without-http_access_module)    HTTP_ACCESS=NO             ;;
@@ -421,6 +422,7 @@
 
   --without-http_charset_module      disable ngx_http_charset_module
   --without-http_gzip_module         disable ngx_http_gzip_module
+  --without-http_slice_module        disable ngx_http_slice_module
   --without-http_ssi_module          disable ngx_http_ssi_module
   --without-http_userid_module       disable ngx_http_userid_module
   --without-http_access_module       disable ngx_http_access_module



More information about the nginx-devel mailing list