* 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:
nobu 2014-04-03 22:13:46 +00:00
Родитель 16f077897f
Коммит 80b36a7b1e
1 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -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