details: http://hg.nginx.org/njs/rev/9b37882ad552 branches: changeset: 228:9b37882ad552 user: Piotr Sikora <piotrsik...@google.com> date: Fri Oct 28 19:29:38 2016 +0300 description: Added missing <nxt_auto_config.h> includes.
Previously, most objects were compiled without any features detected by the ./configure script. Signed-off-by: Piotr Sikora <piotrsik...@google.com> diffstat: nginx/ngx_http_js_module.c | 1 + nginx/ngx_stream_js_module.c | 1 + njs/njs_array.c | 1 + njs/njs_boolean.c | 1 + njs/njs_builtin.c | 1 + njs/njs_disassembler.c | 1 + njs/njs_extern.c | 1 + njs/njs_function.c | 1 + njs/njs_generator.c | 1 + njs/njs_lexer.c | 1 + njs/njs_lexer_keyword.c | 1 + njs/njs_math.c | 1 + njs/njs_number.c | 1 + njs/njs_object.c | 1 + njs/njs_parser.c | 1 + njs/njs_variable.c | 1 + njs/njs_vm.c | 1 + njs/njscript.c | 1 + njs/test/njs_unit_test.c | 1 + nxt/nxt_array.c | 1 + nxt/nxt_djb_hash.c | 1 + nxt/nxt_lvlhsh.c | 1 + nxt/nxt_mem_cache_pool.c | 1 + nxt/nxt_murmur_hash.c | 1 + nxt/nxt_pcre.c | 1 + nxt/nxt_queue.c | 1 + nxt/nxt_random.c | 1 + nxt/nxt_rbtree.c | 1 + nxt/nxt_utf8.c | 1 + nxt/test/lvlhsh_unit_test.c | 1 + nxt/test/random_unit_test.c | 1 + nxt/test/rbtree_unit_test.c | 1 + nxt/test/utf8_unit_test.c | 1 + 33 files changed, 33 insertions(+), 0 deletions(-) diffs (363 lines): diff -r 2cc08001fc78 -r 9b37882ad552 nginx/ngx_http_js_module.c --- a/nginx/ngx_http_js_module.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nginx/ngx_http_js_module.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nginx/ngx_stream_js_module.c --- a/nginx/ngx_stream_js_module.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nginx/ngx_stream_js_module.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_array.c --- a/njs/njs_array.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_array.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_boolean.c --- a/njs/njs_boolean.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_boolean.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_builtin.c --- a/njs/njs_builtin.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_builtin.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_disassembler.c --- a/njs/njs_disassembler.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_disassembler.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_extern.c --- a/njs/njs_extern.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_extern.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_function.c --- a/njs/njs_function.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_function.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_generator.c --- a/njs/njs_generator.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_generator.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_lexer.c --- a/njs/njs_lexer.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_lexer.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_lexer_keyword.c --- a/njs/njs_lexer_keyword.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_lexer_keyword.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_math.c --- a/njs/njs_math.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_math.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_number.c --- a/njs/njs_number.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_number.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_object.c --- a/njs/njs_object.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_object.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_parser.c --- a/njs/njs_parser.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_parser.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_variable.c --- a/njs/njs_variable.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_variable.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njs_vm.c --- a/njs/njs_vm.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njs_vm.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/njscript.c --- a/njs/njscript.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/njscript.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 njs/test/njs_unit_test.c --- a/njs/test/njs_unit_test.c Fri Oct 28 14:20:23 2016 +0300 +++ b/njs/test/njs_unit_test.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_array.c --- a/nxt/nxt_array.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_array.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_djb_hash.c --- a/nxt/nxt_djb_hash.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_djb_hash.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_lvlhsh.c --- a/nxt/nxt_lvlhsh.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_lvlhsh.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_mem_cache_pool.c --- a/nxt/nxt_mem_cache_pool.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_mem_cache_pool.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_murmur_hash.c --- a/nxt/nxt_murmur_hash.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_murmur_hash.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_pcre.c --- a/nxt/nxt_pcre.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_pcre.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_queue.c --- a/nxt/nxt_queue.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_queue.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_random.c --- a/nxt/nxt_random.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_random.c Fri Oct 28 19:29:38 2016 +0300 @@ -5,6 +5,7 @@ */ +#include <nxt_auto_config.h> #include <nxt_types.h> #include <nxt_clang.h> #include <nxt_random.h> diff -r 2cc08001fc78 -r 9b37882ad552 nxt/nxt_rbtree.c --- a/nxt/nxt_rbtree.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_rbtree.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/nxt_utf8.c --- a/nxt/nxt_utf8.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/nxt_utf8.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/test/lvlhsh_unit_test.c --- a/nxt/test/lvlhsh_unit_test.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/test/lvlhsh_unit_test.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/test/random_unit_test.c --- a/nxt/test/random_unit_test.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/test/random_unit_test.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/test/rbtree_unit_test.c --- a/nxt/test/rbtree_unit_test.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/test/rbtree_unit_test.c Fri Oct 28 19:29:38 2016 +0300 @@ -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 2cc08001fc78 -r 9b37882ad552 nxt/test/utf8_unit_test.c --- a/nxt/test/utf8_unit_test.c Fri Oct 28 14:20:23 2016 +0300 +++ b/nxt/test/utf8_unit_test.c Fri Oct 28 19:29:38 2016 +0300 @@ -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