Skip to content

Commit

Permalink
* configure.in: check for non-portable stack attribute functions.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Feb 3, 2010
1 parent f9994ad commit ec7872a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Feb 3 22:22:30 2010 Nobuyoshi Nakada <[email protected]>

* configure.in: check for non-portable stack attribute functions.

Wed Feb 3 20:10:52 2010 Tanaka Akira <[email protected]>

* ext/iconv/charset_alias.rb: pass block argument to outer local
Expand Down
5 changes: 4 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,10 @@ if test x"$enable_pthread" = xyes; then
else
AC_MSG_WARN("Don't know how to find pthread library on your system -- thread support disabled")
fi
AC_CHECK_FUNCS(nanosleep sched_yield pthread_attr_setinheritsched)
AC_CHECK_FUNCS(nanosleep sched_yield pthread_attr_setinheritsched \
pthread_getattr_np pthread_attr_get_np \
pthread_get_stackaddr_np pthread_get_stacksize_np \
thr_stksegment pthread_stackseg_np)
if test x"$ac_cv_func_nanosleep" = xno; then
AC_CHECK_LIB(rt, nanosleep)
if test x"$ac_cv_lib_rt_nanosleep" = xyes; then
Expand Down

0 comments on commit ec7872a

Please sign in to comment.