From 066eecf53a762521891c46199c2e8c11a35fb8dd Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 6 May 2011 14:18:06 +0000 Subject: [PATCH] * configure.in: remove nanosleep check. we no longer use it. r20124 removed last usage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 65bcb4aa8f..fbde80a1db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri May 6 23:13:43 2011 KOSAKI Motohiro + + * configure.in: remove nanosleep check. we no longer use it. + r20124 removed last usage. + Fri May 6 22:35:56 2011 Nobuyoshi Nakada * ext/syck/rubyext.c (mktime_do): extra digits are not used. diff --git a/configure.in b/configure.in index 512f8b859a..4520fb23e3 100644 --- a/configure.in +++ b/configure.in @@ -1731,16 +1731,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(sched_yield pthread_attr_setinheritsched \ pthread_getattr_np pthread_attr_get_np pthread_attr_getstack\ pthread_get_stackaddr_np pthread_get_stacksize_np \ thr_stksegment pthread_stackseg_np pthread_getthrds_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 - AC_DEFINE(HAVE_NANOSLEEP) - fi - fi fi if test x"$ac_cv_header_ucontext_h" = xyes; then if test x"$rb_with_pthread" = xyes; then