Changeset 5508683 in mod_gnutls for config/config.guess


Ignore:
Timestamp:
Jan 11, 2013, 12:58:10 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
17eb1a1, 9c4a744
Parents:
bbb9bb1
Message:

Imported Upstream version 0.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config/config.guess

    rbbb9bb1 r5508683  
    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, 2006, 2007, 2008
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
    55#   Free Software Foundation, Inc.
    66
    7 timestamp='2009-04-27'
     7timestamp='2009-06-10'
    88
    99# This file is free software; you can redistribute it and/or modify it
     
    171171                eval $set_cc_for_build
    172172                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
    173                         | grep __ELF__ >/dev/null
     173                        | grep -q __ELF__
    174174                then
    175175                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
     
    657657
    658658            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
    659                 grep __LP64__ >/dev/null
     659                grep -q __LP64__
    660660            then
    661661                HP_ARCH="hppa2.0w"
     
    823823        echo i${UNAME_MACHINE}-pc-mks
    824824        exit ;;
     825    8664:Windows_NT:*)
     826        echo x86_64-pc-mks
     827        exit ;;
    825828    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
    826829        # How do we know it's Interix rather than the generic POSIX subsystem?
     
    883886        echo ${UNAME_MACHINE}-unknown-linux-gnu
    884887        exit ;;
    885     mips:Linux:*:*)
     888    mips:Linux:*:* | mips64:Linux:*:*)
    886889        eval $set_cc_for_build
    887890        sed 's/^        //' << EOF >$dummy.c
    888891        #undef CPU
    889         #undef mips
    890         #undef mipsel
     892        #undef ${UNAME_MACHINE}
     893        #undef ${UNAME_MACHINE}el
    891894        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    892         CPU=mipsel
     895        CPU=${UNAME_MACHINE}el
    893896        #else
    894897        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    895         CPU=mips
    896         #else
    897         CPU=
    898         #endif
    899         #endif
    900 EOF
    901         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    902             /^CPU/{
    903                 s: ::g
    904                 p
    905             }'`"
    906         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    907         ;;
    908     mips64:Linux:*:*)
    909         eval $set_cc_for_build
    910         sed 's/^        //' << EOF >$dummy.c
    911         #undef CPU
    912         #undef mips64
    913         #undef mips64el
    914         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    915         CPU=mips64el
    916         #else
    917         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    918         CPU=mips64
     898        CPU=${UNAME_MACHINE}
    919899        #else
    920900        CPU=
     
    948928          EV68*) UNAME_MACHINE=alphaev68 ;;
    949929        esac
    950         objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
     930        objdump --private-headers /bin/sh | grep -q ld.so.1
    951931        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    952932        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
     
    1002982                TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
    1003983                ;;
    1004           a.out-i386-linux)
    1005                 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
    1006                 exit ;;
    1007           "")
    1008                 # Either a pre-BFD a.out linker (linux-gnuoldld) or
    1009                 # one that does not give us useful --help.
    1010                 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
    1011                 exit ;;
    1012984        esac
    1013985        # Determine whether the default compiler is a.out or elf
     
    10751047        echo ${UNAME_MACHINE}-pc-syllable
    10761048        exit ;;
    1077     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
     1049    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
    10781050        echo i386-unknown-lynxos${UNAME_RELEASE}
    10791051        exit ;;
     
    11831155        echo rs6000-unknown-lynxos${UNAME_RELEASE}
    11841156        exit ;;
    1185     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
     1157    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
    11861158        echo powerpc-unknown-lynxos${UNAME_RELEASE}
    11871159        exit ;;
Note: See TracChangeset for help on using the changeset viewer.