Configure scripts cleanup.

Thanks to 洪志道 (Hong Zhi Dao).
This commit is contained in:
Valentin Bartenev
2018-04-11 18:29:48 +03:00
parent c610b35649
commit 07b554c2b4
2 changed files with 7 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
nxt_feature="C99 variadic macro" nxt_feature="C99 variadic macro"
nxt_feature_name=NXT_HAVE_C99_VARIADIC_MACRO nxt_feature_name=NXT_HAVE_C99_VARIADIC_MACRO
nxt_feature_run=yes nxt_feature_run=yes
nxt_feature_path= nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="#include <stdio.h> nxt_feature_test="#include <stdio.h>
#define set(dummy, ...) sprintf(__VA_ARGS__) #define set(dummy, ...) sprintf(__VA_ARGS__)
@@ -32,7 +32,7 @@ if [ $nxt_found = no ]; then
nxt_feature="GCC variadic macro" nxt_feature="GCC variadic macro"
nxt_feature_name=NXT_HAVE_GCC_VARIADIC_MACRO nxt_feature_name=NXT_HAVE_GCC_VARIADIC_MACRO
nxt_feature_run=yes nxt_feature_run=yes
nxt_feature_path= nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="#include <stdio.h> nxt_feature_test="#include <stdio.h>
#define set(dummy, args...) sprintf(args) #define set(dummy, args...) sprintf(args)
@@ -83,6 +83,7 @@ nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="int main() { nxt_feature_test="int main() {
__builtin_prefetch(0); __builtin_prefetch(0);
return 0;
}" }"
. auto/feature . auto/feature
@@ -103,7 +104,7 @@ nxt_feature_test="int main() {
nxt_feature="GCC __attribute__ visibility" nxt_feature="GCC __attribute__ visibility"
nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_VISIBILITY nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_VISIBILITY
nxt_feature_run= nxt_feature_run=
nxt_feature_path= nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="int n __attribute__ ((visibility(\"default\"))); nxt_feature_test="int n __attribute__ ((visibility(\"default\")));
@@ -116,7 +117,7 @@ nxt_feature_test="int n __attribute__ ((visibility(\"default\")));
nxt_feature="GCC __attribute__ aligned" nxt_feature="GCC __attribute__ aligned"
nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_ALIGNED nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_ALIGNED
nxt_feature_run= nxt_feature_run=
nxt_feature_path= nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="int n __attribute__ ((aligned(64))); nxt_feature_test="int n __attribute__ ((aligned(64)));
@@ -129,7 +130,7 @@ nxt_feature_test="int n __attribute__ ((aligned(64)));
nxt_feature="GCC __attribute__ malloc" nxt_feature="GCC __attribute__ malloc"
nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_MALLOC nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_MALLOC
nxt_feature_run= nxt_feature_run=
nxt_feature_path= nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="#include <stdlib.h> nxt_feature_test="#include <stdlib.h>
@@ -151,7 +152,7 @@ nxt_feature_test="#include <stdlib.h>
nxt_feature="GCC __attribute__ packed" nxt_feature="GCC __attribute__ packed"
nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED
nxt_feature_run= nxt_feature_run=
nxt_feature_path= nxt_feature_incs=
nxt_feature_libs= nxt_feature_libs=
nxt_feature_test="struct s { nxt_feature_test="struct s {
char c; char c;

View File

@@ -259,8 +259,6 @@ if [ $NXT_TESTS = YES ]; then
nxt_have=NXT_TESTS . auto/have nxt_have=NXT_TESTS . auto/have
fi fi
NXT_DEPS=" \
"
NXT_SRCS=" \ NXT_SRCS=" \
src/nxt_main.c \ src/nxt_main.c \