heidistein / rpms / ruby

Forked from rpms/ruby 5 years ago
Clone
63dd7b4
diff -urN ruby-2.0.0-p0/tool/config.guess ruby-2.0.0-p0-aarch64/tool/config.guess
63dd7b4
--- ruby-2.0.0-p0/tool/config.guess	2012-01-29 07:50:18.000000000 -0600
63dd7b4
+++ ruby-2.0.0-p0-aarch64/tool/config.guess	2013-03-08 07:15:49.233030866 -0600
63dd7b4
@@ -2,9 +2,9 @@
63dd7b4
 # Attempt to guess a canonical system name.
63dd7b4
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
63dd7b4
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
63dd7b4
-#   2011 Free Software Foundation, Inc.
63dd7b4
+#   2011, 2012 Free Software Foundation, Inc.
63dd7b4
 
63dd7b4
-timestamp='2011-11-11'
63dd7b4
+timestamp='2012-09-25'
63dd7b4
 
63dd7b4
 # This file is free software; you can redistribute it and/or modify it
63dd7b4
 # under the terms of the GNU General Public License as published by
63dd7b4
@@ -17,9 +17,7 @@
63dd7b4
 # General Public License for more details.
63dd7b4
 #
63dd7b4
 # You should have received a copy of the GNU General Public License
63dd7b4
-# along with this program; if not, write to the Free Software
63dd7b4
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
63dd7b4
-# 02110-1301, USA.
63dd7b4
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
63dd7b4
 #
63dd7b4
 # As a special exception to the GNU General Public License, if you
63dd7b4
 # distribute this file as part of a program that contains a
63dd7b4
@@ -57,8 +55,8 @@
63dd7b4
 
63dd7b4
 Originally written by Per Bothner.
63dd7b4
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
63dd7b4
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
63dd7b4
-Software Foundation, Inc.
63dd7b4
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
63dd7b4
+Free Software Foundation, Inc.
63dd7b4
 
63dd7b4
 This is free software; see the source for copying conditions.  There is NO
63dd7b4
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
63dd7b4
@@ -145,7 +143,7 @@
63dd7b4
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
63dd7b4
     *:NetBSD:*:*)
63dd7b4
 	# NetBSD (nbsd) targets should (where applicable) match one or
63dd7b4
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
63dd7b4
+	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
63dd7b4
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
63dd7b4
 	# switched to ELF, *-*-netbsd* would select the old
63dd7b4
 	# object file format.  This provides both forward
63dd7b4
@@ -202,6 +200,10 @@
63dd7b4
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
63dd7b4
 	echo "${machine}-${os}${release}"
63dd7b4
 	exit ;;
63dd7b4
+    *:Bitrig:*:*)
63dd7b4
+	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
63dd7b4
+	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
63dd7b4
+	exit ;;
63dd7b4
     *:OpenBSD:*:*)
63dd7b4
 	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
63dd7b4
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
63dd7b4
@@ -304,7 +306,7 @@
63dd7b4
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
63dd7b4
 	echo arm-acorn-riscix${UNAME_RELEASE}
63dd7b4
 	exit ;;
63dd7b4
-    arm:riscos:*:*|arm:RISCOS:*:*)
63dd7b4
+    arm*:riscos:*:*|arm*:RISCOS:*:*)
63dd7b4
 	echo arm-unknown-riscos
63dd7b4
 	exit ;;
63dd7b4
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
63dd7b4
@@ -803,6 +805,9 @@
63dd7b4
     i*:CYGWIN*:*)
63dd7b4
 	echo ${UNAME_MACHINE}-pc-cygwin
63dd7b4
 	exit ;;
63dd7b4
+    *:MINGW64*:*)
63dd7b4
+	echo ${UNAME_MACHINE}-pc-mingw64
63dd7b4
+	exit ;;
63dd7b4
     *:MINGW*:*)
63dd7b4
 	echo ${UNAME_MACHINE}-pc-mingw32
63dd7b4
 	exit ;;
63dd7b4
@@ -863,6 +868,13 @@
63dd7b4
     i*86:Minix:*:*)
63dd7b4
 	echo ${UNAME_MACHINE}-pc-minix
63dd7b4
 	exit ;;
63dd7b4
+    aarch64:Linux:*:*)
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
+	exit ;;
63dd7b4
+    aarch64_be:Linux:*:*)
63dd7b4
+	UNAME_MACHINE=aarch64_be
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
+	exit ;;
63dd7b4
     alpha:Linux:*:*)
63dd7b4
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
63dd7b4
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
63dd7b4
@@ -897,16 +909,16 @@
63dd7b4
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     cris:Linux:*:*)
63dd7b4
-	echo cris-axis-linux-gnu
63dd7b4
+	echo ${UNAME_MACHINE}-axis-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     crisv32:Linux:*:*)
63dd7b4
-	echo crisv32-axis-linux-gnu
63dd7b4
+	echo ${UNAME_MACHINE}-axis-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     frv:Linux:*:*)
63dd7b4
-	echo frv-unknown-linux-gnu
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     hexagon:Linux:*:*)
63dd7b4
-	echo hexagon-unknown-linux-gnu
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     i*86:Linux:*:*)
63dd7b4
 	LIBC=gnu
63dd7b4
@@ -948,7 +960,7 @@
63dd7b4
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
63dd7b4
 	;;
63dd7b4
     or32:Linux:*:*)
63dd7b4
-	echo or32-unknown-linux-gnu
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     padre:Linux:*:*)
63dd7b4
 	echo sparc-unknown-linux-gnu
63dd7b4
@@ -989,7 +1001,7 @@
63dd7b4
 	echo ${UNAME_MACHINE}-dec-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     x86_64:Linux:*:*)
63dd7b4
-	echo x86_64-unknown-linux-gnu
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
 	exit ;;
63dd7b4
     xtensa*:Linux:*:*)
63dd7b4
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
63dd7b4
@@ -1196,6 +1208,9 @@
63dd7b4
     BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
63dd7b4
 	echo i586-pc-haiku
63dd7b4
 	exit ;;
63dd7b4
+    x86_64:Haiku:*:*)
63dd7b4
+	echo x86_64-unknown-haiku
63dd7b4
+	exit ;;
63dd7b4
     SX-4:SUPER-UX:*:*)
63dd7b4
 	echo sx4-nec-superux${UNAME_RELEASE}
63dd7b4
 	exit ;;
63dd7b4
@@ -1251,7 +1266,7 @@
63dd7b4
     NEO-?:NONSTOP_KERNEL:*:*)
63dd7b4
 	echo neo-tandem-nsk${UNAME_RELEASE}
63dd7b4
 	exit ;;
63dd7b4
-    NSE-?:NONSTOP_KERNEL:*:*)
63dd7b4
+    NSE-*:NONSTOP_KERNEL:*:*)
63dd7b4
 	echo nse-tandem-nsk${UNAME_RELEASE}
63dd7b4
 	exit ;;
63dd7b4
     NSR-?:NONSTOP_KERNEL:*:*)
63dd7b4
@@ -1320,11 +1335,11 @@
63dd7b4
     i*86:AROS:*:*)
63dd7b4
 	echo ${UNAME_MACHINE}-pc-aros
63dd7b4
 	exit ;;
63dd7b4
+    x86_64:VMkernel:*:*)
63dd7b4
+	echo ${UNAME_MACHINE}-unknown-esx
63dd7b4
+	exit ;;
63dd7b4
 esac
63dd7b4
 
63dd7b4
-#echo '(No uname command or uname output not recognized.)' 1>&2
63dd7b4
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
63dd7b4
-
63dd7b4
 eval $set_cc_for_build
63dd7b4
 cat >$dummy.c <
63dd7b4
 #ifdef _SEQUENT_
63dd7b4
diff -urN ruby-2.0.0-p0/tool/config.sub ruby-2.0.0-p0-aarch64/tool/config.sub
63dd7b4
--- ruby-2.0.0-p0/tool/config.sub	2012-01-29 07:50:18.000000000 -0600
63dd7b4
+++ ruby-2.0.0-p0-aarch64/tool/config.sub	2013-03-08 07:15:49.328019902 -0600
63dd7b4
@@ -2,9 +2,9 @@
63dd7b4
 # Configuration validation subroutine script.
63dd7b4
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
63dd7b4
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
63dd7b4
-#   2011 Free Software Foundation, Inc.
63dd7b4
+#   2011, 2012 Free Software Foundation, Inc.
63dd7b4
 
63dd7b4
-timestamp='2011-11-11'
63dd7b4
+timestamp='2012-10-10'
63dd7b4
 
63dd7b4
 # This file is (in principle) common to ALL GNU software.
63dd7b4
 # The presence of a machine in this file suggests that SOME GNU software
63dd7b4
@@ -21,9 +21,7 @@
63dd7b4
 # GNU General Public License for more details.
63dd7b4
 #
63dd7b4
 # You should have received a copy of the GNU General Public License
63dd7b4
-# along with this program; if not, write to the Free Software
63dd7b4
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
63dd7b4
-# 02110-1301, USA.
63dd7b4
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
63dd7b4
 #
63dd7b4
 # As a special exception to the GNU General Public License, if you
63dd7b4
 # distribute this file as part of a program that contains a
63dd7b4
@@ -76,8 +74,8 @@
63dd7b4
 GNU config.sub ($timestamp)
63dd7b4
 
63dd7b4
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
63dd7b4
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
63dd7b4
-Software Foundation, Inc.
63dd7b4
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
63dd7b4
+Free Software Foundation, Inc.
63dd7b4
 
63dd7b4
 This is free software; see the source for copying conditions.  There is NO
63dd7b4
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
63dd7b4
@@ -125,13 +123,17 @@
63dd7b4
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
63dd7b4
 case $maybe_os in
63dd7b4
   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
63dd7b4
-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
63dd7b4
+  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
63dd7b4
   knetbsd*-gnu* | netbsd*-gnu* | \
63dd7b4
   kopensolaris*-gnu* | \
63dd7b4
   storm-chaos* | os2-emx* | rtmk-nova*)
63dd7b4
     os=-$maybe_os
63dd7b4
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
63dd7b4
     ;;
63dd7b4
+  android-linux)
63dd7b4
+    os=-linux-android
63dd7b4
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
63dd7b4
+    ;;
63dd7b4
   *)
63dd7b4
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
63dd7b4
     if [ $basic_machine != $1 ]
63dd7b4
@@ -154,7 +156,7 @@
63dd7b4
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
63dd7b4
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
63dd7b4
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
63dd7b4
-	-apple | -axis | -knuth | -cray | -microblaze)
63dd7b4
+	-apple | -axis | -knuth | -cray | -microblaze*)
63dd7b4
 		os=
63dd7b4
 		basic_machine=$1
63dd7b4
 		;;
63dd7b4
@@ -223,6 +225,12 @@
63dd7b4
 	-isc*)
63dd7b4
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
63dd7b4
 		;;
63dd7b4
+	-lynx*178)
63dd7b4
+		os=-lynxos178
63dd7b4
+		;;
63dd7b4
+	-lynx*5)
63dd7b4
+		os=-lynxos5
63dd7b4
+		;;
63dd7b4
 	-lynx*)
63dd7b4
 		os=-lynxos
63dd7b4
 		;;
63dd7b4
@@ -247,6 +255,7 @@
63dd7b4
 	# Some are omitted here because they have special meanings below.
63dd7b4
 	1750a | 580 \
63dd7b4
 	| a29k \
63dd7b4
+	| aarch64 | aarch64_be \
63dd7b4
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
63dd7b4
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
63dd7b4
 	| am33_2.0 \
63dd7b4
@@ -264,7 +273,7 @@
63dd7b4
 	| le32 | le64 \
63dd7b4
 	| lm32 \
63dd7b4
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
63dd7b4
-	| maxq | mb | microblaze | mcore | mep | metag \
63dd7b4
+	| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
63dd7b4
 	| mips | mipsbe | mipseb | mipsel | mipsle \
63dd7b4
 	| mips16 \
63dd7b4
 	| mips64 | mips64el \
63dd7b4
@@ -319,8 +328,7 @@
63dd7b4
 	c6x)
63dd7b4
 		basic_machine=tic6x-unknown
63dd7b4
 		;;
63dd7b4
-	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
63dd7b4
-		# Motorola 68HC11/12.
63dd7b4
+	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
63dd7b4
 		basic_machine=$basic_machine-unknown
63dd7b4
 		os=-none
63dd7b4
 		;;
63dd7b4
@@ -333,7 +341,10 @@
63dd7b4
 	strongarm | thumb | xscale)
63dd7b4
 		basic_machine=arm-unknown
63dd7b4
 		;;
63dd7b4
-
63dd7b4
+	xgate)
63dd7b4
+		basic_machine=$basic_machine-unknown
63dd7b4
+		os=-none
63dd7b4
+		;;
63dd7b4
 	xscaleeb)
63dd7b4
 		basic_machine=armeb-unknown
63dd7b4
 		;;
63dd7b4
@@ -356,6 +367,7 @@
63dd7b4
 	# Recognize the basic CPU types with company name.
63dd7b4
 	580-* \
63dd7b4
 	| a29k-* \
63dd7b4
+	| aarch64-* | aarch64_be-* \
63dd7b4
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
63dd7b4
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
63dd7b4
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
63dd7b4
@@ -377,7 +389,8 @@
63dd7b4
 	| lm32-* \
63dd7b4
 	| m32c-* | m32r-* | m32rle-* \
63dd7b4
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
63dd7b4
-	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
63dd7b4
+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
63dd7b4
+	| microblaze-* | microblazeel-* \
63dd7b4
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
63dd7b4
 	| mips16-* \
63dd7b4
 	| mips64-* | mips64el-* \
63dd7b4
@@ -719,7 +732,6 @@
63dd7b4
 	i370-ibm* | ibm*)
63dd7b4
 		basic_machine=i370-ibm
63dd7b4
 		;;
63dd7b4
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
63dd7b4
 	i*86v32)
63dd7b4
 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
63dd7b4
 		os=-sysv32
63dd7b4
@@ -777,9 +789,13 @@
63dd7b4
 		basic_machine=ns32k-utek
63dd7b4
 		os=-sysv
63dd7b4
 		;;
63dd7b4
-	microblaze)
63dd7b4
+	microblaze*)
63dd7b4
 		basic_machine=microblaze-xilinx
63dd7b4
 		;;
63dd7b4
+	mingw64)
63dd7b4
+		basic_machine=x86_64-pc
63dd7b4
+		os=-mingw64
63dd7b4
+		;;
63dd7b4
 	mingw32)
63dd7b4
 		basic_machine=i386-pc
63dd7b4
 		os=-mingw32
63dd7b4
@@ -1341,15 +1357,15 @@
63dd7b4
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
63dd7b4
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
63dd7b4
 	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
63dd7b4
-	      | -openbsd* | -solidbsd* \
63dd7b4
+	      | -bitrig* | -openbsd* | -solidbsd* \
63dd7b4
 	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
63dd7b4
 	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
63dd7b4
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
63dd7b4
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
63dd7b4
 	      | -chorusos* | -chorusrdb* | -cegcc* \
63dd7b4
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
63dd7b4
-	      | -mingw32* | -linux-gnu* | -linux-android* \
63dd7b4
-	      | -linux-newlib* | -linux-uclibc* \
63dd7b4
+	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
63dd7b4
+	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
63dd7b4
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
63dd7b4
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
63dd7b4
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
63dd7b4
@@ -1532,6 +1548,9 @@
63dd7b4
 	c4x-* | tic4x-*)
63dd7b4
 		os=-coff
63dd7b4
 		;;
63dd7b4
+	hexagon-*)
63dd7b4
+		os=-elf
63dd7b4
+		;;
63dd7b4
 	tic54x-*)
63dd7b4
 		os=-coff
63dd7b4
 		;;
63dd7b4
@@ -1559,9 +1578,6 @@
63dd7b4
 		;;
63dd7b4
 	m68000-sun)
63dd7b4
 		os=-sunos3
63dd7b4
-		# This also exists in the configure program, but was not the
63dd7b4
-		# default.
63dd7b4
-		# os=-sunos4
63dd7b4
 		;;
63dd7b4
 	m68*-cisco)
63dd7b4
 		os=-aout