Bug #9692 » ruby-configure-builtin_longjmp.patch
configure.in | ||
---|---|---|
AC_CACHE_CHECK(for __builtin_setjmp, ac_cv_func___builtin_setjmp,
|
||
[AC_TRY_LINK([@%:@include <setjmp.h>
|
||
jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}],
|
||
jmp_buf jb; __attribute__ ((used)) void t(v) int v; {__builtin_longjmp(jb, v);}],
|
||
[__builtin_setjmp(jb);],
|
||
[ac_cv_func___builtin_setjmp=yes],
|
||
[ac_cv_func___builtin_setjmp=no])
|