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