Changeset 4220 for trunk/config.guess
- Timestamp:
- 04/04/08 22:04:40 (6 months ago)
- Files:
-
- trunk/config.guess (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config.guess
r4196 r4220 1 1 #! /bin/sh 2 2 # Attempt to guess a canonical system name. 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,4 # 2002, 2003, 2004, 2005, 2006, 20075 # Free Software Foundation, Inc.6 7 timestamp='200 7-02-26'3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 5 # Free Software Foundation, Inc. 6 7 timestamp='2008-01-08' 8 8 9 9 # This file is free software; you can redistribute it and/or modify it … … 57 57 58 58 Originally written by Per Bothner. 59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200560 Free Software Foundation, Inc.59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 60 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 61 61 62 62 This is free software; see the source for copying conditions. There is NO … … 331 331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 332 332 exit ;; 333 i86pc:SunOS:5.*:* )333 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 334 334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 335 exit ;; … … 533 533 fi 534 534 exit ;; 535 *:AIX:*:[45 ])535 *:AIX:*:[456]) 536 536 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 537 537 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then … … 792 792 echo ${UNAME_MACHINE}-pc-pw32 793 793 exit ;; 794 x86:Interix*:[3456]*) 795 echo i586-pc-interix${UNAME_RELEASE} 796 exit ;; 797 EM64T:Interix*:[3456]* | authenticamd:Interix*:[3456]*) 798 echo x86_64-unknown-interix${UNAME_RELEASE} 799 exit ;; 794 *:Interix*:[3456]*) 795 case ${UNAME_MACHINE} in 796 x86) 797 echo i586-pc-interix${UNAME_RELEASE} 798 exit ;; 799 EM64T | authenticamd) 800 echo x86_64-unknown-interix${UNAME_RELEASE} 801 exit ;; 802 IA64) 803 echo ia64-unknown-interix${UNAME_RELEASE} 804 exit ;; 805 esac ;; 800 806 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 801 807 echo i${UNAME_MACHINE}-pc-mks … … 831 837 exit ;; 832 838 arm*:Linux:*:*) 833 echo ${UNAME_MACHINE}-unknown-linux-gnu 839 eval $set_cc_for_build 840 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 841 | grep -q __ARM_EABI__ 842 then 843 echo ${UNAME_MACHINE}-unknown-linux-gnu 844 else 845 echo ${UNAME_MACHINE}-unknown-linux-gnueabi 846 fi 834 847 exit ;; 835 848 avr32*:Linux:*:*) … … 952 965 echo x86_64-unknown-linux-gnu 953 966 exit ;; 954 xtensa :Linux:*:*)955 echo xtensa-unknown-linux-gnu967 xtensa*:Linux:*:*) 968 echo ${UNAME_MACHINE}-unknown-linux-gnu 956 969 exit ;; 957 970 i*86:Linux:*:*)
