~ubuntu-branches/ubuntu/vivid/banshee-community-extensions/vivid

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-09-18 03:35:36 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100918033536-b2q2ut7xkk3g90rl
Tags: 1.7.6-0ubuntu1
* New upstream release
  + Enhancements:
    - [Lyrics] Add a Copy button to the lyrics window
    - [Lyrics] Fix up the label in LyricsPane
    - [Lyrics] Use Banshee.WebBrowser instead of webkit-sharp
  + Bugs Fixed:
    - [build] Bring gnome-doc-utils autofoo into the tree
    - [Lyrics] Detect a false positive from lyricsplugin.com
    - [Lyrics] Fixed LyricsWiki source
    - [U1MS] Set a TypeUniqueId for the source (bgo#626965)
* Change section from gnome to sound
* Imported Upstream version 1.7.6
* Drop webkit# build-dep
* Bump Banshee build-dep version and loosen binary-dep version
* Switch banshee dep with banshee-extensions-common in metapackage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Attempt to guess a canonical system name.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-06-10'
 
7
timestamp='2008-01-08'
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
139
139
UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
140
140
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
141
141
 
 
142
case "${UNAME_MACHINE}" in
 
143
    i?86)
 
144
        test -z "$VENDOR" && VENDOR=pc
 
145
        ;;
 
146
    *)
 
147
        test -z "$VENDOR" && VENDOR=unknown
 
148
        ;;
 
149
esac
 
150
test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
 
151
 
142
152
# Note: order is significant - the case branches are not exclusive.
143
153
 
144
154
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
170
180
            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
171
181
                eval $set_cc_for_build
172
182
                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
173
 
                        | grep -q __ELF__
 
183
                        | grep __ELF__ >/dev/null
174
184
                then
175
185
                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
176
186
                    # Return netbsd for either.  FIX?
324
334
        case `/usr/bin/uname -p` in
325
335
            sparc) echo sparc-icl-nx7; exit ;;
326
336
        esac ;;
327
 
    s390x:SunOS:*:*)
328
 
        echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
329
 
        exit ;;
330
337
    sun4H:SunOS:5.*:*)
331
338
        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332
339
        exit ;;
334
341
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335
342
        exit ;;
336
343
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337
 
        eval $set_cc_for_build
338
 
        SUN_ARCH="i386"
339
 
        # If there is a compiler, see if it is configured for 64-bit objects.
340
 
        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
341
 
        # This test works for both compilers.
342
 
        if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
343
 
            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
344
 
                (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
345
 
                grep IS_64BIT_ARCH >/dev/null
346
 
            then
347
 
                SUN_ARCH="x86_64"
348
 
            fi
349
 
        fi
350
 
        echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
344
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
351
345
        exit ;;
352
346
    sun4*:SunOS:6*:*)
353
347
        # According to config.sub, this is the proper way to canonicalize
656
650
            # => hppa64-hp-hpux11.23
657
651
 
658
652
            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
659
 
                grep -q __LP64__
 
653
                grep __LP64__ >/dev/null
660
654
            then
661
655
                HP_ARCH="hppa2.0w"
662
656
            else
812
806
            x86)
813
807
                echo i586-pc-interix${UNAME_RELEASE}
814
808
                exit ;;
815
 
            EM64T | authenticamd | genuineintel)
 
809
            EM64T | authenticamd)
816
810
                echo x86_64-unknown-interix${UNAME_RELEASE}
817
811
                exit ;;
818
812
            IA64)
822
816
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
823
817
        echo i${UNAME_MACHINE}-pc-mks
824
818
        exit ;;
825
 
    8664:Windows_NT:*)
826
 
        echo x86_64-pc-mks
827
 
        exit ;;
828
819
    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
829
820
        # How do we know it's Interix rather than the generic POSIX subsystem?
830
821
        # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
859
850
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
860
851
            | grep -q __ARM_EABI__
861
852
        then
862
 
            echo ${UNAME_MACHINE}-unknown-linux-gnu
 
853
            echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
863
854
        else
864
 
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
 
855
            echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi
865
856
        fi
866
857
        exit ;;
867
858
    avr32*:Linux:*:*)
868
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
859
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
869
860
        exit ;;
870
861
    cris:Linux:*:*)
871
862
        echo cris-axis-linux-gnu
874
865
        echo crisv32-axis-linux-gnu
875
866
        exit ;;
876
867
    frv:Linux:*:*)
877
 
        echo frv-unknown-linux-gnu
 
868
        echo frv-${VENDOR}-linux-gnu
878
869
        exit ;;
879
870
    ia64:Linux:*:*)
880
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
871
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
881
872
        exit ;;
882
873
    m32r*:Linux:*:*)
883
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
874
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
884
875
        exit ;;
885
876
    m68*:Linux:*:*)
886
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
877
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
887
878
        exit ;;
888
 
    mips:Linux:*:* | mips64:Linux:*:*)
889
 
        eval $set_cc_for_build
890
 
        sed 's/^        //' << EOF >$dummy.c
891
 
        #undef CPU
892
 
        #undef ${UNAME_MACHINE}
893
 
        #undef ${UNAME_MACHINE}el
894
 
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
895
 
        CPU=${UNAME_MACHINE}el
896
 
        #else
897
 
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
898
 
        CPU=${UNAME_MACHINE}
899
 
        #else
900
 
        CPU=
901
 
        #endif
902
 
        #endif
903
 
EOF
904
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
905
 
            /^CPU/{
906
 
                s: ::g
907
 
                p
908
 
            }'`"
909
 
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
879
    mips:Linux:*:*)
 
880
        eval $set_cc_for_build
 
881
        sed 's/^        //' << EOF >$dummy.c
 
882
        #undef CPU
 
883
        #undef mips
 
884
        #undef mipsel
 
885
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
886
        CPU=mipsel
 
887
        #else
 
888
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
889
        CPU=mips
 
890
        #else
 
891
        CPU=
 
892
        #endif
 
893
        #endif
 
894
EOF
 
895
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
896
            /^CPU/{
 
897
                s: ::g
 
898
                p
 
899
            }'`"
 
900
        test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
 
901
        ;;
 
902
    mips64:Linux:*:*)
 
903
        eval $set_cc_for_build
 
904
        sed 's/^        //' << EOF >$dummy.c
 
905
        #undef CPU
 
906
        #undef mips64
 
907
        #undef mips64el
 
908
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
909
        CPU=mips64el
 
910
        #else
 
911
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
912
        CPU=mips64
 
913
        #else
 
914
        CPU=
 
915
        #endif
 
916
        #endif
 
917
EOF
 
918
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
919
            /^CPU/{
 
920
                s: ::g
 
921
                p
 
922
            }'`"
 
923
        test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
910
924
        ;;
911
925
    or32:Linux:*:*)
912
 
        echo or32-unknown-linux-gnu
 
926
        echo or32-${VENDOR}-linux-gnu
913
927
        exit ;;
914
928
    ppc:Linux:*:*)
915
 
        echo powerpc-unknown-linux-gnu
 
929
        echo powerpc-${VENDOR}-linux-gnu
916
930
        exit ;;
917
931
    ppc64:Linux:*:*)
918
 
        echo powerpc64-unknown-linux-gnu
 
932
        echo powerpc64-${VENDOR}-linux-gnu
919
933
        exit ;;
920
934
    alpha:Linux:*:*)
921
935
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
927
941
          EV67)  UNAME_MACHINE=alphaev67 ;;
928
942
          EV68*) UNAME_MACHINE=alphaev68 ;;
929
943
        esac
930
 
        objdump --private-headers /bin/sh | grep -q ld.so.1
 
944
        objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
931
945
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933
 
        exit ;;
934
 
    padre:Linux:*:*)
935
 
        echo sparc-unknown-linux-gnu
 
946
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
936
947
        exit ;;
937
948
    parisc:Linux:*:* | hppa:Linux:*:*)
938
949
        # Look for CPU level
939
950
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
940
 
          PA7*) echo hppa1.1-unknown-linux-gnu ;;
941
 
          PA8*) echo hppa2.0-unknown-linux-gnu ;;
942
 
          *)    echo hppa-unknown-linux-gnu ;;
 
951
          PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;;
 
952
          PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;;
 
953
          *)    echo hppa-${VENDOR}-linux-gnu ;;
943
954
        esac
944
955
        exit ;;
945
956
    parisc64:Linux:*:* | hppa64:Linux:*:*)
946
 
        echo hppa64-unknown-linux-gnu
 
957
        echo hppa64-${VENDOR}-linux-gnu
947
958
        exit ;;
948
959
    s390:Linux:*:* | s390x:Linux:*:*)
949
960
        echo ${UNAME_MACHINE}-ibm-linux
950
961
        exit ;;
951
962
    sh64*:Linux:*:*)
952
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
963
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
953
964
        exit ;;
954
965
    sh*:Linux:*:*)
955
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
966
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
956
967
        exit ;;
957
968
    sparc:Linux:*:* | sparc64:Linux:*:*)
958
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
969
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
959
970
        exit ;;
960
971
    vax:Linux:*:*)
961
972
        echo ${UNAME_MACHINE}-dec-linux-gnu
962
973
        exit ;;
963
974
    x86_64:Linux:*:*)
964
 
        echo x86_64-unknown-linux-gnu
 
975
        echo x86_64-${VENDOR}-linux-gnu
965
976
        exit ;;
966
977
    xtensa*:Linux:*:*)
967
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
978
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
968
979
        exit ;;
969
980
    i*86:Linux:*:*)
970
981
        # The BFD linker knows what the default object file format is, so
979
990
                                    p'`
980
991
        case "$ld_supported_targets" in
981
992
          elf32-i386)
982
 
                TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
 
993
                TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu"
983
994
                ;;
 
995
          a.out-i386-linux)
 
996
                echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout"
 
997
                exit ;;
 
998
          coff-i386)
 
999
                echo "${UNAME_MACHINE}-${VENDOR}-linux-gnucoff"
 
1000
                exit ;;
 
1001
          "")
 
1002
                # Either a pre-BFD a.out linker (linux-gnuoldld) or
 
1003
                # one that does not give us useful --help.
 
1004
                echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld"
 
1005
                exit ;;
984
1006
        esac
985
1007
        # Determine whether the default compiler is a.out or elf
986
1008
        eval $set_cc_for_build
1013
1035
                p
1014
1036
            }'`"
1015
1037
        test x"${LIBC}" != x && {
1016
 
                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
 
1038
                echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}"
1017
1039
                exit
1018
1040
        }
1019
1041
        test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1046
1068
    i*86:syllable:*:*)
1047
1069
        echo ${UNAME_MACHINE}-pc-syllable
1048
1070
        exit ;;
1049
 
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
 
1071
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1050
1072
        echo i386-unknown-lynxos${UNAME_RELEASE}
1051
1073
        exit ;;
1052
1074
    i*86:*DOS:*:*)
1090
1112
    pc:*:*:*)
1091
1113
        # Left here for compatibility:
1092
1114
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1093
 
        # the processor, so we play safe by assuming i586.
1094
 
        # Note: whatever this is, it MUST be the same as what config.sub
1095
 
        # prints for the "djgpp" host, or else GDB configury will decide that
1096
 
        # this is a cross-build.
1097
 
        echo i586-pc-msdosdjgpp
 
1115
        # the processor, so we play safe by assuming i386.
 
1116
        echo i386-pc-msdosdjgpp
1098
1117
        exit ;;
1099
1118
    Intel:Mach:3*:*)
1100
1119
        echo i386-pc-mach3
1132
1151
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1133
1152
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1134
1153
          && { echo i486-ncr-sysv4; exit; } ;;
1135
 
    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1136
 
        OS_REL='.3'
1137
 
        test -r /etc/.relid \
1138
 
            && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1139
 
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1140
 
            && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1141
 
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1142
 
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1143
 
        /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1144
 
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1145
1154
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1146
1155
        echo m68k-unknown-lynxos${UNAME_RELEASE}
1147
1156
        exit ;;
1154
1163
    rs6000:LynxOS:2.*:*)
1155
1164
        echo rs6000-unknown-lynxos${UNAME_RELEASE}
1156
1165
        exit ;;
1157
 
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
 
1166
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1158
1167
        echo powerpc-unknown-lynxos${UNAME_RELEASE}
1159
1168
        exit ;;
1160
1169
    SM[BE]S:UNIX_SV:*:*)
1217
1226
    BePC:BeOS:*:*)      # BeOS running on Intel PC compatible.
1218
1227
        echo i586-pc-beos
1219
1228
        exit ;;
1220
 
    BePC:Haiku:*:*)     # Haiku running on Intel PC compatible.
1221
 
        echo i586-pc-haiku
1222
 
        exit ;;
1223
1229
    SX-4:SUPER-UX:*:*)
1224
1230
        echo sx4-nec-superux${UNAME_RELEASE}
1225
1231
        exit ;;
1328
1334
    i*86:rdos:*:*)
1329
1335
        echo ${UNAME_MACHINE}-pc-rdos
1330
1336
        exit ;;
1331
 
    i*86:AROS:*:*)
1332
 
        echo ${UNAME_MACHINE}-pc-aros
1333
 
        exit ;;
1334
1337
esac
1335
1338
 
1336
1339
#echo '(No uname command or uname output not recognized.)' 1>&2
1491
1494
the operating system you are using. It is advised that you
1492
1495
download the most up to date version of the config scripts from
1493
1496
 
1494
 
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 
1497
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1495
1498
and
1496
 
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
1499
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1497
1500
 
1498
1501
If the version you run ($0) is already up to date, please
1499
1502
send the following data and any information you think might be