diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 09:59:10 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 09:59:10 +0000 |
commit | 07a324a0f6464f31765ee4bc5cfc23a99d426705 (patch) | |
tree | dd928b5cc16b6b44c9d7a1c68346da8061b0573a /configure.ac | |
parent | 27665e5134582bf58fb196268d659cc19df39f61 (diff) |
Native implementation of coroutines to improve performance of fibers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f4be92039d..03d3cf4aea 100644 --- a/configure.ac +++ b/configure.ac @@ -2274,6 +2274,12 @@ AS_IF([test x"$target_cpu" = xia64], [ ]) ]) +AS_CASE(["$target_cpu-$target_os"], + [*-darwin*], [ + AC_LIBOBJ([coroutine/amd64/Context]) + ], +) + AC_CACHE_CHECK(whether right shift preserve sign bit, rb_cv_rshift_sign, [AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([], [(-1==(-1>>1))])], rb_cv_rshift_sign=yes, |