diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-04-11 18:29:48 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-04-11 18:29:48 +0300 |
commit | 07b554c2b4dd4f51117d5760d2b31e88e5ae88df (patch) | |
tree | d939edf9de4648f821a5d1832a934b023c46242d | |
parent | c610b356497136f11c7c8d7dc3d28c29a9a76cd4 (diff) | |
download | unit-07b554c2b4dd4f51117d5760d2b31e88e5ae88df.tar.gz unit-07b554c2b4dd4f51117d5760d2b31e88e5ae88df.tar.bz2 |
Configure scripts cleanup.
Thanks to 洪志道 (Hong Zhi Dao).
Diffstat (limited to '')
-rw-r--r-- | auto/clang | 13 | ||||
-rw-r--r-- | auto/sources | 2 |
2 files changed, 7 insertions, 8 deletions
@@ -9,7 +9,7 @@ nxt_feature="C99 variadic macro" nxt_feature_name=NXT_HAVE_C99_VARIADIC_MACRO nxt_feature_run=yes -nxt_feature_path= +nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include <stdio.h> #define set(dummy, ...) sprintf(__VA_ARGS__) @@ -32,7 +32,7 @@ if [ $nxt_found = no ]; then nxt_feature="GCC variadic macro" nxt_feature_name=NXT_HAVE_GCC_VARIADIC_MACRO nxt_feature_run=yes - nxt_feature_path= + nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include <stdio.h> #define set(dummy, args...) sprintf(args) @@ -83,6 +83,7 @@ nxt_feature_incs= nxt_feature_libs= nxt_feature_test="int main() { __builtin_prefetch(0); + return 0; }" . auto/feature @@ -103,7 +104,7 @@ nxt_feature_test="int main() { nxt_feature="GCC __attribute__ visibility" nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_VISIBILITY nxt_feature_run= -nxt_feature_path= +nxt_feature_incs= nxt_feature_libs= 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_name=NXT_HAVE_GCC_ATTRIBUTE_ALIGNED nxt_feature_run= -nxt_feature_path= +nxt_feature_incs= nxt_feature_libs= 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_name=NXT_HAVE_GCC_ATTRIBUTE_MALLOC nxt_feature_run= -nxt_feature_path= +nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include <stdlib.h> @@ -151,7 +152,7 @@ nxt_feature_test="#include <stdlib.h> nxt_feature="GCC __attribute__ packed" nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED nxt_feature_run= -nxt_feature_path= +nxt_feature_incs= nxt_feature_libs= nxt_feature_test="struct s { char c; diff --git a/auto/sources b/auto/sources index 51dc0ba7..95031a61 100644 --- a/auto/sources +++ b/auto/sources @@ -259,8 +259,6 @@ if [ $NXT_TESTS = YES ]; then nxt_have=NXT_TESTS . auto/have fi -NXT_DEPS=" \ -" NXT_SRCS=" \ src/nxt_main.c \ |