Changeset 341 for trunk/config.guess


Ignore:
Timestamp:
Jun 1, 2006 12:32:27 AM (13 years ago)
Author:
andreasw
Message:

reran autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.guess

    r310 r341  
    22# Attempt to guess a canonical system name.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    5 
    6 timestamp='2005-07-08'
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
     5#   Inc.
     6
     7timestamp='2006-05-13'
    78
    89# This file is free software; you can redistribute it and/or modify it
     
    107108trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
    108109: ${TMPDIR=/tmp} ;
    109  { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
     110 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
    110111 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
    111112 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
     
    207208        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
    208209        exit ;;
     210    *:SolidBSD:*:*)
     211        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
     212        exit ;;
    209213    macppc:MirBSD:*:*)
    210214        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
     
    765769        exit ;;
    766770    *:FreeBSD:*:*)
    767         echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
     771        case ${UNAME_MACHINE} in
     772            pc98)
     773                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     774            amd64)
     775                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     776            *)
     777                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     778        esac
    768779        exit ;;
    769780    i*:CYGWIN*:*)
     
    780791        echo ${UNAME_MACHINE}-pc-pw32
    781792        exit ;;
    782     x86:Interix*:[34]*)
    783         echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
     793    x86:Interix*:[345]*)
     794        echo i586-pc-interix${UNAME_RELEASE}
     795        exit ;;
     796    EM64T:Interix*:[345]*)
     797        echo x86_64-unknown-interix${UNAME_RELEASE}
    784798        exit ;;
    785799    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
     
    795809        echo ${UNAME_MACHINE}-pc-uwin
    796810        exit ;;
    797     amd64:CYGWIN*:*:*)
     811    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
    798812        echo x86_64-unknown-cygwin
    799813        exit ;;
     
    852866        #endif
    853867EOF
    854         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
     868        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
     869            /^CPU/{
     870                s: ::g
     871                p
     872            }'`"
    855873        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    856874        ;;
     
    871889        #endif
    872890EOF
    873         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
     891        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
     892            /^CPU/{
     893                s: ::g
     894                p
     895            }'`"
    874896        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    875897        ;;
     898    or32:Linux:*:*)
     899        echo or32-unknown-linux-gnu
     900        exit ;;
    876901    ppc:Linux:*:*)
    877902        echo powerpc-unknown-linux-gnu
     
    916941    sparc:Linux:*:* | sparc64:Linux:*:*)
    917942        echo ${UNAME_MACHINE}-unknown-linux-gnu
     943        exit ;;
     944    vax:Linux:*:*)
     945        echo ${UNAME_MACHINE}-dec-linux-gnu
    918946        exit ;;
    919947    x86_64:Linux:*:*)
     
    962990        # endif
    963991        #else
    964         #ifdef __INTEL_COMPILER
     992        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
    965993        LIBC=gnu
    966994        #else
     
    9721000        #endif
    9731001EOF
    974         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
     1002        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
     1003            /^LIBC/{
     1004                s: ::g
     1005                p
     1006            }'`"
    9751007        test x"${LIBC}" != x && {
    9761008                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
     
    11831215        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
    11841216        case $UNAME_PROCESSOR in
    1185             *86) UNAME_PROCESSOR=i686 ;;
    11861217            unknown) UNAME_PROCESSOR=powerpc ;;
    11871218        esac
     
    12611292    i*86:skyos:*:*)
    12621293        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
     1294        exit ;;
     1295    i*86:rdos:*:*)
     1296        echo ${UNAME_MACHINE}-pc-rdos
    12631297        exit ;;
    12641298esac
Note: See TracChangeset for help on using the changeset viewer.