scripts: update config.{guess,sub}
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Aug 04 23:40:16 2012 +0200 (2012-08-04)
changeset 3028670c97e4646c
parent 3027 1ced7cc63576
child 3029 06cf4f81a5a2
child 3032 712a8ed22762
scripts: update config.{guess,sub}

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/config.guess
scripts/config.sub
     1.1 --- a/scripts/config.guess	Sat Aug 04 23:15:02 2012 +0200
     1.2 +++ b/scripts/config.guess	Sat Aug 04 23:40:16 2012 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     1.5  #   2011, 2012 Free Software Foundation, Inc.
     1.6  
     1.7 -timestamp='2012-02-10'
     1.8 +timestamp='2012-07-31'
     1.9  
    1.10  # This file is free software; you can redistribute it and/or modify it
    1.11  # under the terms of the GNU General Public License as published by
    1.12 @@ -200,6 +200,10 @@
    1.13  	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    1.14  	echo "${machine}-${os}${release}"
    1.15  	exit ;;
    1.16 +    *:Bitrig:*:*)
    1.17 +	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
    1.18 +	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
    1.19 +	exit ;;
    1.20      *:OpenBSD:*:*)
    1.21  	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
    1.22  	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
    1.23 @@ -801,6 +805,9 @@
    1.24      i*:CYGWIN*:*)
    1.25  	echo ${UNAME_MACHINE}-pc-cygwin
    1.26  	exit ;;
    1.27 +    *:MINGW64*:*)
    1.28 +	echo ${UNAME_MACHINE}-pc-mingw64
    1.29 +	exit ;;
    1.30      *:MINGW*:*)
    1.31  	echo ${UNAME_MACHINE}-pc-mingw32
    1.32  	exit ;;
    1.33 @@ -1256,7 +1263,7 @@
    1.34      NEO-?:NONSTOP_KERNEL:*:*)
    1.35  	echo neo-tandem-nsk${UNAME_RELEASE}
    1.36  	exit ;;
    1.37 -    NSE-?:NONSTOP_KERNEL:*:*)
    1.38 +    NSE-*:NONSTOP_KERNEL:*:*)
    1.39  	echo nse-tandem-nsk${UNAME_RELEASE}
    1.40  	exit ;;
    1.41      NSR-?:NONSTOP_KERNEL:*:*)
    1.42 @@ -1330,9 +1337,6 @@
    1.43  	exit ;;
    1.44  esac
    1.45  
    1.46 -#echo '(No uname command or uname output not recognized.)' 1>&2
    1.47 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
    1.48 -
    1.49  eval $set_cc_for_build
    1.50  cat >$dummy.c <<EOF
    1.51  #ifdef _SEQUENT_
     2.1 --- a/scripts/config.sub	Sat Aug 04 23:15:02 2012 +0200
     2.2 +++ b/scripts/config.sub	Sat Aug 04 23:40:16 2012 +0200
     2.3 @@ -4,7 +4,7 @@
     2.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     2.5  #   2011, 2012 Free Software Foundation, Inc.
     2.6  
     2.7 -timestamp='2012-04-18'
     2.8 +timestamp='2012-07-31'
     2.9  
    2.10  # This file is (in principle) common to ALL GNU software.
    2.11  # The presence of a machine in this file suggests that SOME GNU software
    2.12 @@ -791,6 +791,10 @@
    2.13  	microblaze)
    2.14  		basic_machine=microblaze-xilinx
    2.15  		;;
    2.16 +	mingw64)
    2.17 +		basic_machine=x86_64-pc
    2.18 +		os=-mingw64
    2.19 +		;;
    2.20  	mingw32)
    2.21  		basic_machine=i386-pc
    2.22  		os=-mingw32
    2.23 @@ -1352,14 +1356,14 @@
    2.24  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    2.25  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    2.26  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
    2.27 -	      | -openbsd* | -solidbsd* \
    2.28 +	      | -bitrig* | -openbsd* | -solidbsd* \
    2.29  	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
    2.30  	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
    2.31  	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    2.32  	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    2.33  	      | -chorusos* | -chorusrdb* | -cegcc* \
    2.34  	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    2.35 -	      | -mingw32* | -linux-gnu* | -linux-android* \
    2.36 +	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
    2.37  	      | -linux-newlib* | -linux-uclibc* \
    2.38  	      | -uxpv* | -beos* | -mpeix* | -udk* \
    2.39  	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    2.40 @@ -1543,6 +1547,9 @@
    2.41  	c4x-* | tic4x-*)
    2.42  		os=-coff
    2.43  		;;
    2.44 +	hexagon-*)
    2.45 +		os=-elf
    2.46 +		;;
    2.47  	tic54x-*)
    2.48  		os=-coff
    2.49  		;;