[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT NGINX v2 05/10] Remove defines from auto-generated files



Remove the defines that are generated for disabled modules.

Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>
---
 include/ngx_auto_config.h | 32 +-------------------------------
 1 file changed, 1 insertion(+), 31 deletions(-)

diff --git a/include/ngx_auto_config.h b/include/ngx_auto_config.h
index c9e294d..401899b 100644
--- a/include/ngx_auto_config.h
+++ b/include/ngx_auto_config.h
@@ -1,4 +1,4 @@
-#define NGX_CONFIGURE " --prefix=/nginx"
+#define NGX_CONFIGURE " --prefix=/nginx --with-http_sub_module 
--with-select_module --without-http_gzip_module --without-pcre 
--without-http_rewrite_module --without-http_auth_basic_module 
--without-http-cache"
 
 #ifndef NGX_COMPILER
 #define NGX_COMPILER  "gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) "
@@ -353,26 +353,11 @@
 #endif
 
 
-#ifndef NGX_HTTP_CACHE
-#define NGX_HTTP_CACHE  1
-#endif
-
-
-#ifndef NGX_HTTP_GZIP
-#define NGX_HTTP_GZIP  1
-#endif
-
-
 #ifndef NGX_HTTP_SSI
 #define NGX_HTTP_SSI  1
 #endif
 
 
-#ifndef NGX_CRYPT
-#define NGX_CRYPT  1
-#endif
-
-
 #ifndef NGX_HTTP_X_FORWARDED_FOR
 #define NGX_HTTP_X_FORWARDED_FOR  1
 #endif
@@ -388,21 +373,6 @@
 #endif
 
 
-#ifndef NGX_PCRE
-#define NGX_PCRE  1
-#endif
-
-
-#ifndef NGX_HAVE_PCRE_JIT
-#define NGX_HAVE_PCRE_JIT  1
-#endif
-
-
-#ifndef NGX_ZLIB
-#define NGX_ZLIB  1
-#endif
-
-
 #ifndef NGX_PREFIX
 #define NGX_PREFIX  "/nginx/"
 #endif
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.