mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: _setjmp is available but _longjmp is not on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
432fc5bd1f
commit
54e792ee6f
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Apr 1 11:36:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: _setjmp is available but _longjmp is not on mingw.
|
||||||
|
|
||||||
Tue Apr 1 09:41:22 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
Tue Apr 1 09:41:22 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
|
* {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
|
||||||
|
|
|
@ -704,7 +704,7 @@ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot fsync getcwd
|
||||||
setrgid setegid setregid setresgid issetugid pause lchown lchmod\
|
setrgid setegid setregid setresgid issetugid pause lchown lchmod\
|
||||||
getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\
|
getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\
|
||||||
getpriority getrlimit setrlimit sysconf group_member\
|
getpriority getrlimit setrlimit sysconf group_member\
|
||||||
dlopen sigprocmask sigaction sigsetjmp _setjmp vsnprintf snprintf\
|
dlopen sigprocmask sigaction sigsetjmp _setjmp _longjmp vsnprintf snprintf\
|
||||||
setsid telldir seekdir fchmod cosh sinh tanh log2 round signbit\
|
setsid telldir seekdir fchmod cosh sinh tanh log2 round signbit\
|
||||||
setuid setgid daemon select_large_fdset setenv unsetenv\
|
setuid setgid daemon select_large_fdset setenv unsetenv\
|
||||||
mktime timegm clock_gettime gettimeofday\
|
mktime timegm clock_gettime gettimeofday\
|
||||||
|
@ -718,6 +718,8 @@ AC_CACHE_CHECK(for __builtin_setjmp, ac_cv_func___builtin_setjmp,
|
||||||
[ac_cv_func___builtin_setjmp=no])
|
[ac_cv_func___builtin_setjmp=no])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
test $ac_cv_func__longjmp = no && ac_cv_func__setjmp=no
|
||||||
|
|
||||||
AC_MSG_CHECKING(for setjmp type)
|
AC_MSG_CHECKING(for setjmp type)
|
||||||
AC_ARG_WITH(setjmp-type,
|
AC_ARG_WITH(setjmp-type,
|
||||||
[ --with-setjmp-type select setjmp type], [
|
[ --with-setjmp-type select setjmp type], [
|
||||||
|
@ -730,7 +732,7 @@ AC_ARG_WITH(setjmp-type,
|
||||||
*) AC_MSG_ERROR(invalid setjmp type: $withval);;
|
*) AC_MSG_ERROR(invalid setjmp type: $withval);;
|
||||||
esac], [unset setjmp_prefix])
|
esac], [unset setjmp_prefix])
|
||||||
if test ${setjmp_prefix+set}; then
|
if test ${setjmp_prefix+set}; then
|
||||||
if test "${setjmp_prefix}" && eval test '$ac_cv_'${setjmp_prefix}setjmp = no; then
|
if test "${setjmp_prefix}" && eval test '$ac_cv_func_'${setjmp_prefix}setjmp = no; then
|
||||||
AC_MSG_ERROR(${setjmp_prefix}setjmp is not available)
|
AC_MSG_ERROR(${setjmp_prefix}setjmp is not available)
|
||||||
fi
|
fi
|
||||||
elif test "$ac_cv_func___builtin_setjmp" = yes; then
|
elif test "$ac_cv_func___builtin_setjmp" = yes; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue