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

ruby-changes:18870

From: shyouhei <ko1@a...>
Date: Fri, 18 Feb 2011 19:37:59 +0900 (JST)
Subject: [ruby-changes:18870] Ruby:r30895 (ruby_1_8_7): * configure.in: revert revision r29854. This revision introduced

shyouhei	2011-02-18 19:37:47 +0900 (Fri, 18 Feb 2011)

  New Revision: 30895

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

  Log:
    * configure.in: revert revision r29854.  This revision introduced
      binary incompatibilities on some circumstances.  The bug that
      revision was fixing gets reopened by this reversion.
      [ruby-dev:43152] cf. [Bug #2553]

  Modified files:
    branches/ruby_1_8_7/ChangeLog
    branches/ruby_1_8_7/configure.in
    branches/ruby_1_8_7/version.h

Index: ruby_1_8_7/configure.in
===================================================================
--- ruby_1_8_7/configure.in	(revision 30894)
+++ ruby_1_8_7/configure.in	(revision 30895)
@@ -522,7 +522,7 @@
 		 fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\
 		 syscall.h pwd.h grp.h a.out.h utime.h memory.h direct.h sys/resource.h \
 		 sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h pthread.h \
-		 intrinsics.h time.h)
+		 ucontext.h intrinsics.h time.h)
 
 dnl Check additional types.
 AC_CHECK_SIZEOF(rlim_t, 0, [
@@ -1085,22 +1085,8 @@
        fi
     fi
 fi
-
-use_context=no
-if test x"$rb_with_pthread" = xyes; then
-    AS_CASE("$target_cpu:$target_os:$cross_compiling",
-    [*:linux*:no], [
-        if test -n "`(/lib/libc.so.6 2>/dev/null | fgrep 'linuxthreads') 2> /dev/null`"; then
-	    use_context=yes
-	fi
-    ],
-    [sparc*], [
-    	use_context=yes
-    ])
-fi
-if test x"$use_context" = xyes; then
-    AC_CHECK_HEADERS(ucontext.h)
-    if test x"$ac_cv_header_ucontext_h" = xyes; then
+if test x"$ac_cv_header_ucontext_h" = xyes; then
+    if test x"$rb_with_pthread" = xyes; then
 	AC_CHECK_FUNCS(getcontext setcontext)
     fi
 fi
Index: ruby_1_8_7/ChangeLog
===================================================================
--- ruby_1_8_7/ChangeLog	(revision 30894)
+++ ruby_1_8_7/ChangeLog	(revision 30895)
@@ -1,3 +1,10 @@
+Fri Feb 18 19:22:17 2011  URABE Shyouhei  <shyouhei@r...>
+
+	* configure.in: revert revision r29854.  This revision introduced
+	  binary incompatibilities on some circumstances.  The bug that
+	  revision was fixing gets reopened by this reversion.
+	  [ruby-dev:43152] cf. [Bug #2553]
+
 Thu Dec 23 12:22:35 2010  Tanaka Akira  <akr@f...>
 
 	* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
Index: ruby_1_8_7/version.h
===================================================================
--- ruby_1_8_7/version.h	(revision 30894)
+++ ruby_1_8_7/version.h	(revision 30895)
@@ -1,15 +1,15 @@
 #define RUBY_VERSION "1.8.7"
-#define RUBY_RELEASE_DATE "2010-12-23"
+#define RUBY_RELEASE_DATE "2011-02-18"
 #define RUBY_VERSION_CODE 187
-#define RUBY_RELEASE_CODE 20101223
-#define RUBY_PATCHLEVEL 330
+#define RUBY_RELEASE_CODE 20110218
+#define RUBY_PATCHLEVEL 331
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
 #define RUBY_VERSION_TEENY 7
-#define RUBY_RELEASE_YEAR 2010
-#define RUBY_RELEASE_MONTH 12
-#define RUBY_RELEASE_DAY 23
+#define RUBY_RELEASE_YEAR 2011
+#define RUBY_RELEASE_MONTH 2
+#define RUBY_RELEASE_DAY 18
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

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

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