ruby-changes:34033
From: nobu <ko1@a...>
Date: Sun, 25 May 2014 20:31:56 +0900 (JST)
Subject: [ruby-changes:34033] nobu:r46114 (trunk): configure.in: do not disable ucontext.h
nobu 2014-05-25 20:31:52 +0900 (Sun, 25 May 2014) New Revision: 46114 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46114 Log: configure.in: do not disable ucontext.h * configure.in (ac_cv_func_{getcontext,setcontext}): do not disable ucontext.h entirely, but disable use of functions only. `ucontext_t` is necessary in the signal handler now. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 46113) +++ configure.in (revision 46114) @@ -969,7 +969,8 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.in#L969 [macosx_10_5=yes], [macosx_10_5=no]) AC_MSG_RESULT($macosx_10_5) if test $macosx_10_5 = yes; then - ac_cv_header_ucontext_h=no + ac_cv_func_getcontext=no + ac_cv_func_setcontext=no else AC_DEFINE(BROKEN_SETREUID, 1) AC_DEFINE(BROKEN_SETREGID, 1) Index: ChangeLog =================================================================== --- ChangeLog (revision 46113) +++ ChangeLog (revision 46114) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun May 25 20:31:49 2014 Nobuyoshi Nakada <nobu@r...> + + * configure.in (ac_cv_func_{getcontext,setcontext}): do not + disable ucontext.h entirely, but disable use of functions only. + `ucontext_t` is necessary in the signal handler now. + Sun May 25 20:00:23 2014 Nobuyoshi Nakada <nobu@r...> * signal.c (check_stack_overflow): revert part of r46100, the -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/