From 07b554c2b4dd4f51117d5760d2b31e88e5ae88df Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Wed, 11 Apr 2018 18:29:48 +0300 Subject: Configure scripts cleanup. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to 洪志道 (Hong Zhi Dao). --- auto/clang | 13 +++++++------ auto/sources | 2 -- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/auto/clang b/auto/clang index 91078ba9..e5a96db8 100644 --- a/auto/clang +++ b/auto/clang @@ -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 #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 #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 @@ -151,7 +152,7 @@ nxt_feature_test="#include 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 \ -- cgit