Show
Ignore:
Timestamp:
04/04/08 22:04:40 (6 months ago)
Author:
miyoshi
Message:

Sync up with Emacs22.2.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config.guess

    r4196 r4220  
    11#! /bin/sh 
    22# 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, 2007 
    5 #                 Free Software Foundation, Inc. 
    6  
    7 timestamp='2007-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 
     7timestamp='2008-01-08
    88 
    99# This file is free software; you can redistribute it and/or modify it 
     
    5757 
    5858Originally written by Per Bothner. 
    59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    60 Free Software Foundation, Inc. 
     59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
     602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
    6161 
    6262This is free software; see the source for copying conditions.  There is NO 
     
    331331        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    332332        exit ;; 
    333     i86pc:SunOS:5.*:*
     333    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*
    334334        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    335335        exit ;; 
     
    533533        fi 
    534534        exit ;; 
    535     *:AIX:*:[45]) 
     535    *:AIX:*:[456]) 
    536536        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 
    537537        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 
     
    792792        echo ${UNAME_MACHINE}-pc-pw32 
    793793        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 ;; 
    800806    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 
    801807        echo i${UNAME_MACHINE}-pc-mks 
     
    831837        exit ;; 
    832838    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 
    834847        exit ;; 
    835848    avr32*:Linux:*:*) 
     
    952965        echo x86_64-unknown-linux-gnu 
    953966        exit ;; 
    954     xtensa:Linux:*:*) 
    955         echo xtensa-unknown-linux-gnu 
     967    xtensa*:Linux:*:*) 
     968        echo ${UNAME_MACHINE}-unknown-linux-gnu 
    956969        exit ;; 
    957970    i*86:Linux:*:*)