mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: __builtin_setjmp cannot handle a variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b39676f6a9
commit
dc8359969e
2 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
Tue Apr 1 02:58:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Tue Apr 1 03:20:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers
|
||||
__builtin_setjmp, _setjmp over setjmp and sigsetjmp.
|
||||
[ruby-core:16023], [ruby-core:16086]
|
||||
_setjmp over setjmp and sigsetjmp. [ruby-core:16023]
|
||||
__builtin_setjmp cannot handle a variable.
|
||||
|
||||
* configure.in (--with-setjmp-type): new option to override the
|
||||
default rule in the above.
|
||||
|
|
|
@ -712,7 +712,7 @@ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot fsync getcwd
|
|||
|
||||
AC_CACHE_CHECK(for __builtin_setjmp, ac_cv_func___builtin_setjmp,
|
||||
[AC_TRY_LINK([@%:@include <setjmp.h>
|
||||
jmp_buf jb; void t() {__builtin_longjmp(jb, 1);}],
|
||||
jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}],
|
||||
[__builtin_setjmp(jb);],
|
||||
[ac_cv_func___builtin_setjmp=yes],
|
||||
[ac_cv_func___builtin_setjmp=no])
|
||||
|
|
Loading…
Reference in a new issue