~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-06-03'
 
7
timestamp='2009-06-10'
8
8
 
9
9
# This file is free software; you can redistribute it and/or modify it
10
10
# under the terms of the GNU General Public License as published by
170
170
            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
171
171
                eval $set_cc_for_build
172
172
                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
173
 
                        | grep __ELF__ >/dev/null
 
173
                        | grep -q __ELF__
174
174
                then
175
175
                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
176
176
                    # Return netbsd for either.  FIX?
656
656
            # => hppa64-hp-hpux11.23
657
657
 
658
658
            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
659
 
                grep __LP64__ >/dev/null
 
659
                grep -q __LP64__
660
660
            then
661
661
                HP_ARCH="hppa2.0w"
662
662
            else
927
927
          EV67)  UNAME_MACHINE=alphaev67 ;;
928
928
          EV68*) UNAME_MACHINE=alphaev68 ;;
929
929
        esac
930
 
        objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
 
930
        objdump --private-headers /bin/sh | grep -q ld.so.1
931
931
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932
932
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933
933
        exit ;;
1046
1046
    i*86:syllable:*:*)
1047
1047
        echo ${UNAME_MACHINE}-pc-syllable
1048
1048
        exit ;;
1049
 
    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]*:*)
1050
1050
        echo i386-unknown-lynxos${UNAME_RELEASE}
1051
1051
        exit ;;
1052
1052
    i*86:*DOS:*:*)
1154
1154
    rs6000:LynxOS:2.*:*)
1155
1155
        echo rs6000-unknown-lynxos${UNAME_RELEASE}
1156
1156
        exit ;;
1157
 
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
 
1157
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1158
1158
        echo powerpc-unknown-lynxos${UNAME_RELEASE}
1159
1159
        exit ;;
1160
1160
    SM[BE]S:UNIX_SV:*:*)