summaryrefslogtreecommitdiffhomepage
path: root/auto/clang
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-06-26 19:58:43 +0300
committerMax Romanov <max.romanov@nginx.com>2017-06-26 19:58:43 +0300
commitb53b7b0413d4898b9bd73cd30e8d433b8893a66d (patch)
tree984fba281456d62f0803ab9b726a448ad7fba6d9 /auto/clang
parent9399a04121c054433ba3247523487d94ba9db2ba (diff)
downloadunit-b53b7b0413d4898b9bd73cd30e8d433b8893a66d.tar.gz
unit-b53b7b0413d4898b9bd73cd30e8d433b8893a66d.tar.bz2
Build on Solaris 11 fixed.
Diffstat (limited to 'auto/clang')
-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=