Welcome! Log In Create A New Profile

Advanced

[PATCH] Add missing <nxt_auto_config.h> includes

Piotr Sikora
October 28, 2016 02:06AM
# HG changeset patch
# User Piotr Sikora <piotrsikora@google.com>
# Date 1477633918 25200
# Thu Oct 27 22:51:58 2016 -0700
# Node ID 5b770255cfd18765a88147910255735ed2966b4e
# Parent d84e34c2dbde138ebd06b77bbe5b9ee2f1f62f05
Add missing <nxt_auto_config.h> includes.

Previously, most objects were compiled without any features detected
by the ./configure script.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

diff -r d84e34c2dbde -r 5b770255cfd1 nginx/ngx_http_js_module.c
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -9,6 +9,7 @@
#include <ngx_core.h>
#include <ngx_http.h>

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nginx/ngx_stream_js_module.c
--- a/nginx/ngx_stream_js_module.c
+++ b/nginx/ngx_stream_js_module.c
@@ -9,6 +9,7 @@
#include <ngx_core.h>
#include <ngx_stream.h>

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_array.c
--- a/njs/njs_array.c
+++ b/njs/njs_array.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_boolean.c
--- a/njs/njs_boolean.c
+++ b/njs/njs_boolean.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_builtin.c
--- a/njs/njs_builtin.c
+++ b/njs/njs_builtin.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_disassembler.c
--- a/njs/njs_disassembler.c
+++ b/njs/njs_disassembler.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_extern.c
--- a/njs/njs_extern.c
+++ b/njs/njs_extern.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_function.c
--- a/njs/njs_function.c
+++ b/njs/njs_function.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_generator.c
--- a/njs/njs_generator.c
+++ b/njs/njs_generator.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_lexer.c
--- a/njs/njs_lexer.c
+++ b/njs/njs_lexer.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_lexer_keyword.c
--- a/njs/njs_lexer_keyword.c
+++ b/njs/njs_lexer_keyword.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_math.c
--- a/njs/njs_math.c
+++ b/njs/njs_math.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_number.c
--- a/njs/njs_number.c
+++ b/njs/njs_number.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_object.c
--- a/njs/njs_object.c
+++ b/njs/njs_object.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_parser.c
--- a/njs/njs_parser.c
+++ b/njs/njs_parser.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_variable.c
--- a/njs/njs_variable.c
+++ b/njs/njs_variable.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njs_vm.c
--- a/njs/njs_vm.c
+++ b/njs/njs_vm.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/njscript.c
--- a/njs/njscript.c
+++ b/njs/njscript.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 njs/test/njs_unit_test.c
--- a/njs/test/njs_unit_test.c
+++ b/njs/test/njs_unit_test.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_array.c
--- a/nxt/nxt_array.c
+++ b/nxt/nxt_array.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_stub.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_djb_hash.c
--- a/nxt/nxt_djb_hash.c
+++ b/nxt/nxt_djb_hash.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_lvlhsh.c
--- a/nxt/nxt_lvlhsh.c
+++ b/nxt/nxt_lvlhsh.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_mem_cache_pool.c
--- a/nxt/nxt_mem_cache_pool.c
+++ b/nxt/nxt_mem_cache_pool.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_alignment.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_murmur_hash.c
--- a/nxt/nxt_murmur_hash.c
+++ b/nxt/nxt_murmur_hash.c
@@ -4,6 +4,7 @@
* released to the public domain.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_murmur_hash.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_pcre.c
--- a/nxt/nxt_pcre.c
+++ b/nxt/nxt_pcre.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_stub.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_queue.c
--- a/nxt/nxt_queue.c
+++ b/nxt/nxt_queue.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_queue.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_random.c
--- a/nxt/nxt_random.c
+++ b/nxt/nxt_random.c
@@ -5,6 +5,7 @@
*/


+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_random.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_rbtree.c
--- a/nxt/nxt_rbtree.c
+++ b/nxt/nxt_rbtree.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_rbtree.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/nxt_utf8.c
--- a/nxt/nxt_utf8.c
+++ b/nxt/nxt_utf8.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_utf8.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/test/lvlhsh_unit_test.c
--- a/nxt/test/lvlhsh_unit_test.c
+++ b/nxt/test/lvlhsh_unit_test.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_string.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/test/random_unit_test.c
--- a/nxt/test/random_unit_test.c
+++ b/nxt/test/random_unit_test.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_stub.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/test/rbtree_unit_test.c
--- a/nxt/test/rbtree_unit_test.c
+++ b/nxt/test/rbtree_unit_test.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_stub.h>
diff -r d84e34c2dbde -r 5b770255cfd1 nxt/test/utf8_unit_test.c
--- a/nxt/test/utf8_unit_test.c
+++ b/nxt/test/utf8_unit_test.c
@@ -4,6 +4,7 @@
* Copyright (C) NGINX, Inc.
*/

+#include <nxt_auto_config.h>
#include <nxt_types.h>
#include <nxt_clang.h>
#include <nxt_stub.h>

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

[PATCH] Add missing <nxt_auto_config.h> includes

Piotr Sikora 290 October 28, 2016 02:06AM



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

Online Users

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