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

ruby-changes:20522

From: knu <ko1@a...>
Date: Sun, 17 Jul 2011 17:01:59 +0900 (JST)
Subject: [ruby-changes:20522] knu:r32570 (ruby_1_8): Backport r31365; fixes #4661.

knu	2011-07-17 17:01:48 +0900 (Sun, 17 Jul 2011)

  New Revision: 32570

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

  Log:
    Backport r31365; fixes #4661.
    
    * configure.in (STRIP): use proper toolchain.  based on a patch
      from Jon Forums at [ruby-core:35909].  fixes #4617

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/configure.in

Index: ruby_1_8/configure.in
===================================================================
--- ruby_1_8/configure.in	(revision 32569)
+++ ruby_1_8/configure.in	(revision 32570)
@@ -1469,25 +1469,17 @@
 test ".$DLEXT"  = "." || AC_DEFINE_UNQUOTED(DLEXT,  ".$DLEXT")
 test ".$DLEXT2" = "." || AC_DEFINE_UNQUOTED(DLEXT2, ".$DLEXT2")
 
-AC_SUBST(STRIP)dnl
 if test "$with_dln_a_out" = yes; then
   STRIP=true
 else
-  STRIP=strip
+  AC_CHECK_TOOL(STRIP, strip, :)dnl
 fi
 
-case "$target_os" in
-  linux* | gnu* | k*bsd*-gnu)
-	STRIP='strip -S -x';;
-  nextstep*)
-	STRIP='strip -A -n';;
-  openstep*)
-	STRIP='strip -A -n';;
-  rhapsody*)
-	STRIP='strip -A -n';;
-  darwin*)
-	STRIP='strip -A -n';;
-esac
+AS_CASE(["$target_os"],
+  [linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu], [
+	STRIP="$STRIP -S -x"],
+  [nextstep* | openstep* | rhapsody* | darwin*], [
+	STRIP="$STRIP -A -n"])
 
 EXTSTATIC=
 AC_SUBST(EXTSTATIC)dnl
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 32569)
+++ ruby_1_8/ChangeLog	(revision 32570)
@@ -1,3 +1,8 @@
+Sun Jul 17 16:55:34 2011  Akinori MUSHA  <knu@i...>
+
+	* configure.in (STRIP): use proper toolchain.  based on a patch
+	  from Jon Forums at [ruby-core:35909].  fixes #4617
+
 Thu Jul 14 16:53:01 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* eval.c (ruby_setjmp): need to save the stack after r2 (the Table

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

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