From 3bb86ae462ab411471f6f24d2cc967e0e9acdc84 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Oct 2013 13:45:31 +0000 Subject: cont.c: split conditions * cont.c (FIBER_USE_NATIVE): split long conditions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 04bdbb926c..c23f691325 100644 --- a/configure.in +++ b/configure.in @@ -2352,23 +2352,11 @@ if test x"$enable_pthread" = xyes; then AC_CHECK_FUNCS(pthread_attr_init) fi fi -FIBER_USE_NATIVE=0 if test x"$ac_cv_header_ucontext_h" = xyes; then if test x"$rb_with_pthread" = xyes; then AC_CHECK_FUNCS(getcontext setcontext) - if test x"$ac_cv_func_getcontext" = xyes -a x"$ac_cv_func_setcontext" = xyes; then - AS_CASE("$target_cpu-$target_os", - [*-netbsd*], [], - [ia64-*], [], # r38766 - [*-sunos*|*-solaris*], [], # r32408 - [FIBER_USE_NATIVE=1]) - fi fi -else - AS_CASE("$target_os", [mingw*|mswin*], - [test "[$[with_winnt_ver]]" -ge [$[0x0400]] && FIBER_USE_NATIVE=1]) fi -AC_DEFINE(FIBER_USE_NATIVE) if test "$ac_cv_func_fork" = "yes" -a "$rb_with_pthread" = "yes"; then AC_CACHE_CHECK([if fork works with pthread], rb_cv_fork_with_pthread, -- cgit v1.2.3