ruby-changes:4381
From: ko1@a...
Date: Tue, 1 Apr 2008 03:21:19 +0900 (JST)
Subject: [ruby-changes:4381] nobu - Ruby:r15872 (ruby_1_8, trunk): * configure.in: __builtin_setjmp cannot handle a variable.
nobu 2008-04-01 03:20:42 +0900 (Tue, 01 Apr 2008) New Revision: 15872 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/configure.in trunk/ChangeLog trunk/configure.in Log: * configure.in: __builtin_setjmp cannot handle a variable. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/configure.in?r1=15872&r2=15871&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15872&r2=15871&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15872&r2=15871&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/configure.in?r1=15872&r2=15871&diff_format=u Index: configure.in =================================================================== --- configure.in (revision 15871) +++ configure.in (revision 15872) @@ -712,7 +712,7 @@ 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]) Index: ChangeLog =================================================================== --- ChangeLog (revision 15871) +++ ChangeLog (revision 15872) @@ -1,8 +1,8 @@ -Tue Apr 1 02:58:39 2008 Nobuyoshi Nakada <nobu@r...> +Tue Apr 1 03:20:40 2008 Nobuyoshi Nakada <nobu@r...> * 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. Index: ruby_1_8/configure.in =================================================================== --- ruby_1_8/configure.in (revision 15871) +++ ruby_1_8/configure.in (revision 15872) @@ -575,7 +575,7 @@ 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]) Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 15871) +++ ruby_1_8/ChangeLog (revision 15872) @@ -1,8 +1,8 @@ -Tue Apr 1 02:58:13 2008 Nobuyoshi Nakada <nobu@r...> +Tue Apr 1 03:20:40 2008 Nobuyoshi Nakada <nobu@r...> * 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. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/