summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/clang13
1 files changed, 13 insertions, 0 deletions
diff --git a/auto/clang b/auto/clang
index fc69bf6f..dc434940 100644
--- a/auto/clang
+++ b/auto/clang
@@ -87,6 +87,19 @@ nxt_feature_test="int main() {
. auto/feature
+nxt_feature="GCC __builtin_clz()"
+nxt_feature_name=NXT_HAVE_BUILTIN_CLZ
+nxt_feature_run=
+nxt_feature_incs=
+nxt_feature_libs=
+nxt_feature_test="int main() {
+ if (__builtin_clz(1) == 31)
+ return 0;
+ return 1;
+ }"
+. auto/feature
+
+
nxt_feature="GCC __attribute__ visibility"
nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_VISIBILITY
nxt_feature_run=