[前][次][番号順一覧][スレッド一覧]

ruby-changes:19409

From: kosaki <ko1@a...>
Date: Fri, 6 May 2011 23:18:34 +0900 (JST)
Subject: [ruby-changes:19409] Ruby:r31449 (trunk): * configure.in: remove nanosleep check. we no longer use it.

kosaki	2011-05-06 23:18:06 +0900 (Fri, 06 May 2011)

  New Revision: 31449

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31449

  Log:
    * configure.in: remove nanosleep check. we no longer use it.
    r20124 removed last usage.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 31448)
+++ configure.in	(revision 31449)
@@ -1731,16 +1731,10 @@
     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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31448)
+++ ChangeLog	(revision 31449)
@@ -1,3 +1,8 @@
+Fri May  6 23:13:43 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* configure.in: remove nanosleep check. we no longer use it.
+	r20124 removed last usage.
+
 Fri May  6 22:35:56 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/syck/rubyext.c (mktime_do): extra digits are not used.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]