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

ruby-changes:17342

From: nobu <ko1@a...>
Date: Sun, 26 Sep 2010 23:04:32 +0900 (JST)
Subject: [ruby-changes:17342] Ruby:r29347 (trunk): * tool/config.sub (x86_64-pc-mingw64): regularize.

nobu	2010-09-26 22:59:48 +0900 (Sun, 26 Sep 2010)

  New Revision: 29347

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

  Log:
    * tool/config.sub (x86_64-pc-mingw64): regularize.

  Modified files:
    trunk/ChangeLog
    trunk/tool/config.sub

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29346)
+++ ChangeLog	(revision 29347)
@@ -1,3 +1,7 @@
+Sun Sep 26 22:59:45 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/config.sub (x86_64-pc-mingw64): regularize.
+
 Sun Sep 26 22:21:07 2010  wanabe  <s.wanabe@g...>
 
 	* ext/openssl/ossl_hmac.c (ossl_hmac_hexdigest, ossl_hmac_s_hexdigest),
Index: tool/config.sub
===================================================================
--- tool/config.sub	(revision 29346)
+++ tool/config.sub	(revision 29347)
@@ -319,6 +319,9 @@
 	i*86 | x86_64)
 	  basic_machine=$basic_machine-pc
 	  ;;
+	i?86-w64)
+	  basic_machine=x86_64-pc
+	  ;;
 	# Object if more than one company name word.
 	*-*-*)
 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
@@ -1299,7 +1302,7 @@
 	      | -chorusos* | -chorusrdb* | -cegcc* \
 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
-	      | -uxpv* | -beos* | -mpeix* | -udk* | -mingw64* \
+	      | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
@@ -1309,6 +1312,13 @@
 	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
+	-mingw64*)
+		case $basic_machine in
+		    x86-* | i*86-*)
+			basic_machine=x86_64-pc
+			;;
+		esac
+		;;
 	-qnx*)
 		case $basic_machine in
 		    x86-* | i*86-*)
@@ -1696,6 +1706,9 @@
 		esac
 		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
 		;;
+	x86_64*)
+		os=`echo $os | sed 's/32/64/'`
+		;;
 esac
 
 echo $basic_machine$os

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

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