зеркало из https://github.com/github/ruby.git
configure.in: indent
* configure.in (ac_cv_func___builtin_setjmp): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
16f077897f
Коммит
80b36a7b1e
28
configure.in
28
configure.in
|
@ -2078,21 +2078,21 @@ if test x"${ac_cv_func___builtin_setjmp}" = xyes; then
|
|||
unset ac_cv_func___builtin_setjmp
|
||||
fi
|
||||
AC_CACHE_CHECK(for __builtin_setjmp, ac_cv_func___builtin_setjmp,
|
||||
[
|
||||
for cast in "" "(void *)"; do
|
||||
RUBY_WERROR_FLAG(
|
||||
[AC_TRY_LINK([@%:@include <setjmp.h>
|
||||
@%:@include <stdio.h>
|
||||
jmp_buf jb;
|
||||
void t(void) {__builtin_longjmp($cast jb, 1);}],
|
||||
[
|
||||
void (*volatile f)(void) = t;
|
||||
if (!__builtin_setjmp($cast jb)) printf("%d\n", f != 0);
|
||||
],
|
||||
[ac_cv_func___builtin_setjmp="yes with cast ($cast)"; break],
|
||||
[ac_cv_func___builtin_setjmp=no])
|
||||
])
|
||||
done])
|
||||
for cast in "" "(void *)"; do
|
||||
RUBY_WERROR_FLAG(
|
||||
[AC_TRY_LINK([@%:@include <setjmp.h>
|
||||
@%:@include <stdio.h>
|
||||
jmp_buf jb;
|
||||
void t(void) {__builtin_longjmp($cast jb, 1);}],
|
||||
[
|
||||
void (*volatile f)(void) = t;
|
||||
if (!__builtin_setjmp($cast jb)) printf("%d\n", f != 0);
|
||||
],
|
||||
[ac_cv_func___builtin_setjmp="yes with cast ($cast)"; break],
|
||||
[ac_cv_func___builtin_setjmp=no])
|
||||
])
|
||||
done])
|
||||
|
||||
# we don't use _setjmp if _longjmp doesn't exist.
|
||||
test x$ac_cv_func__longjmp = xno && ac_cv_func__setjmp=no
|
||||
|
|
Загрузка…
Ссылка в новой задаче