summaryrefslogtreecommitdiffhomepage
path: root/auto/clang
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-11 18:29:48 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-11 18:29:48 +0300
commit07b554c2b4dd4f51117d5760d2b31e88e5ae88df (patch)
treed939edf9de4648f821a5d1832a934b023c46242d /auto/clang
parentc610b356497136f11c7c8d7dc3d28c29a9a76cd4 (diff)
downloadunit-07b554c2b4dd4f51117d5760d2b31e88e5ae88df.tar.gz
unit-07b554c2b4dd4f51117d5760d2b31e88e5ae88df.tar.bz2
Configure scripts cleanup.
Thanks to 洪志道 (Hong Zhi Dao).
Diffstat (limited to 'auto/clang')
-rw-r--r--auto/clang13
1 files changed, 7 insertions, 6 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 <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;