diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Feb 3 22:22:30 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in: check for non-portable stack attribute functions. + Wed Feb 3 20:10:52 2010 Tanaka Akira <akr@fsij.org> * ext/iconv/charset_alias.rb: pass block argument to outer local diff --git a/configure.in b/configure.in index da83bcc851..69b8b7170a 100644 --- a/configure.in +++ b/configure.in @@ -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 |