~ubuntu-branches/ubuntu/utopic/anjuta/utopic

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Jackson Doak
  • Date: 2014-07-12 15:17:39 UTC
  • mfrom: (1.1.56) (27.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20140712151739-eyw0ufhvwa5s11jc
Tags: 2:3.12.0-1
* Team upload.

[ Jackson Doak ]
* New upstream release
* Drop 03_valac_0.22.patch, fixed upstream\
* debian/control:
  - Bump b-dep version on libgtk-3-dev (>= 3.6.0), libglib2.0-dev (>= 2.34.0)
  - Bump stardards-version to 3.9.5. No changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
        ;;
154
154
esac
155
155
 
 
156
case "${UNAME_MACHINE}" in
 
157
  i?86)
 
158
     test -z "$VENDOR" && VENDOR=pc
 
159
     ;;
 
160
  *)
 
161
     test -z "$VENDOR" && VENDOR=unknown
 
162
     ;;
 
163
esac
 
164
test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
 
165
 
156
166
# Note: order is significant - the case branches are not exclusive.
157
167
 
158
168
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
217
227
        exit ;;
218
228
    *:Bitrig:*:*)
219
229
        UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
220
 
        echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
 
230
        echo ${UNAME_MACHINE_ARCH}-${VENDOR}-bitrig${UNAME_RELEASE}
221
231
        exit ;;
222
232
    *:OpenBSD:*:*)
223
233
        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
224
 
        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
 
234
        echo ${UNAME_MACHINE_ARCH}-${VENDOR}-openbsd${UNAME_RELEASE}
225
235
        exit ;;
226
236
    *:ekkoBSD:*:*)
227
 
        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
 
237
        echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE}
228
238
        exit ;;
229
239
    *:SolidBSD:*:*)
230
 
        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
 
240
        echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE}
231
241
        exit ;;
232
242
    macppc:MirBSD:*:*)
233
 
        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
 
243
        echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE}
234
244
        exit ;;
235
245
    *:MirBSD:*:*)
236
 
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
 
246
        echo ${UNAME_MACHINE}-${VENDOR}-mirbsd${UNAME_RELEASE}
237
247
        exit ;;
238
248
    alpha:OSF1:*:*)
239
249
        case $UNAME_RELEASE in
301
311
        echo alpha-dec-winnt3.5
302
312
        exit ;;
303
313
    Amiga*:UNIX_System_V:4.0:*)
304
 
        echo m68k-unknown-sysv4
 
314
        echo m68k-${VENDOR}-sysv4
305
315
        exit ;;
306
316
    *:[Aa]miga[Oo][Ss]:*:*)
307
 
        echo ${UNAME_MACHINE}-unknown-amigaos
 
317
        echo ${UNAME_MACHINE}-${VENDOR}-amigaos
308
318
        exit ;;
309
319
    *:[Mm]orph[Oo][Ss]:*:*)
310
 
        echo ${UNAME_MACHINE}-unknown-morphos
 
320
        echo ${UNAME_MACHINE}-${VENDOR}-morphos
311
321
        exit ;;
312
322
    *:OS/390:*:*)
313
323
        echo i370-ibm-openedition
322
332
        echo arm-acorn-riscix${UNAME_RELEASE}
323
333
        exit ;;
324
334
    arm*:riscos:*:*|arm*:RISCOS:*:*)
325
 
        echo arm-unknown-riscos
 
335
        echo arm-${VENDOR}-riscos
326
336
        exit ;;
327
337
    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
328
338
        echo hppa1.1-hitachi-hiuxmpp
430
440
        echo m68k-hades-mint${UNAME_RELEASE}
431
441
        exit ;;
432
442
    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
433
 
        echo m68k-unknown-mint${UNAME_RELEASE}
 
443
        echo m68k-${VENDOR}-mint${UNAME_RELEASE}
434
444
        exit ;;
435
445
    m68k:machten:*:*)
436
446
        echo m68k-apple-machten${UNAME_RELEASE}
741
751
        exit ;;
742
752
    i*86:OSF1:*:*)
743
753
        if [ -x /usr/sbin/sysversion ] ; then
744
 
            echo ${UNAME_MACHINE}-unknown-osf1mk
 
754
            echo ${UNAME_MACHINE}-${VENDOR}-osf1mk
745
755
        else
746
 
            echo ${UNAME_MACHINE}-unknown-osf1
 
756
            echo ${UNAME_MACHINE}-${VENDOR}-osf1
747
757
        fi
748
758
        exit ;;
749
759
    parisc*:Lites*:*:*)
803
813
        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
804
814
        exit ;;
805
815
    sparc*:BSD/OS:*:*)
806
 
        echo sparc-unknown-bsdi${UNAME_RELEASE}
 
816
        echo sparc-${VENDOR}-bsdi${UNAME_RELEASE}
807
817
        exit ;;
808
818
    *:BSD/OS:*:*)
809
 
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 
819
        echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE}
810
820
        exit ;;
811
821
    *:FreeBSD:*:*)
812
822
        UNAME_PROCESSOR=`/usr/bin/uname -p`
813
823
        case ${UNAME_PROCESSOR} in
814
824
            amd64)
815
 
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
825
                echo x86_64-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
816
826
            *)
817
 
                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
827
                echo ${UNAME_PROCESSOR}-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
818
828
        esac
819
829
        exit ;;
820
830
    i*:CYGWIN*:*)
842
852
                echo i586-pc-interix${UNAME_RELEASE}
843
853
                exit ;;
844
854
            authenticamd | genuineintel | EM64T)
845
 
                echo x86_64-unknown-interix${UNAME_RELEASE}
 
855
                echo x86_64-${VENDOR}-interix${UNAME_RELEASE}
846
856
                exit ;;
847
857
            IA64)
848
 
                echo ia64-unknown-interix${UNAME_RELEASE}
 
858
                echo ia64-${VENDOR}-interix${UNAME_RELEASE}
849
859
                exit ;;
850
860
        esac ;;
851
861
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
864
874
        echo ${UNAME_MACHINE}-pc-uwin
865
875
        exit ;;
866
876
    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
867
 
        echo x86_64-unknown-cygwin
 
877
        echo x86_64-${VENDOR}-cygwin
868
878
        exit ;;
869
879
    p*:CYGWIN*:*)
870
 
        echo powerpcle-unknown-cygwin
 
880
        echo powerpcle-${VENDOR}-cygwin
871
881
        exit ;;
872
882
    prep*:SunOS:5.*:*)
873
 
        echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
883
        echo powerpcle-${VENDOR}-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
874
884
        exit ;;
875
885
    *:GNU:*:*)
876
886
        # the GNU system
877
 
        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 
887
        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-${VENDOR}-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
878
888
        exit ;;
879
889
    *:GNU/*:*:*)
880
890
        # other systems with GNU libc and userland
881
 
        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
 
891
        echo ${UNAME_MACHINE}-${VENDOR}-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
882
892
        exit ;;
883
893
    i*86:Minix:*:*)
884
894
        echo ${UNAME_MACHINE}-pc-minix
885
895
        exit ;;
886
896
    aarch64:Linux:*:*)
887
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
897
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
888
898
        exit ;;
889
899
    aarch64_be:Linux:*:*)
890
900
        UNAME_MACHINE=aarch64_be
891
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
901
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
892
902
        exit ;;
893
903
    alpha:Linux:*:*)
894
904
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
902
912
        esac
903
913
        objdump --private-headers /bin/sh | grep -q ld.so.1
904
914
        if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
915
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
906
916
        exit ;;
907
917
    arc:Linux:*:* | arceb:Linux:*:*)
908
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
918
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
909
919
        exit ;;
910
920
    arm*:Linux:*:*)
911
921
        eval $set_cc_for_build
912
922
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
913
923
            | grep -q __ARM_EABI__
914
924
        then
915
 
            echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
925
            echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
916
926
        else
917
927
            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
918
928
                | grep -q __ARM_PCS_VFP
919
929
            then
920
 
                echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
 
930
                echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}eabi
921
931
            else
922
 
                echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
 
932
                echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}eabihf
923
933
            fi
924
934
        fi
925
935
        exit ;;
926
936
    avr32*:Linux:*:*)
927
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
937
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
928
938
        exit ;;
929
939
    cris:Linux:*:*)
930
940
        echo ${UNAME_MACHINE}-axis-linux-${LIBC}
933
943
        echo ${UNAME_MACHINE}-axis-linux-${LIBC}
934
944
        exit ;;
935
945
    frv:Linux:*:*)
936
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
946
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
937
947
        exit ;;
938
948
    hexagon:Linux:*:*)
939
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
949
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
940
950
        exit ;;
941
951
    i*86:Linux:*:*)
942
952
        echo ${UNAME_MACHINE}-pc-linux-${LIBC}
943
953
        exit ;;
944
954
    ia64:Linux:*:*)
945
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
955
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
946
956
        exit ;;
947
957
    m32r*:Linux:*:*)
948
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
958
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
949
959
        exit ;;
950
960
    m68*:Linux:*:*)
951
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
961
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
952
962
        exit ;;
953
963
    mips:Linux:*:* | mips64:Linux:*:*)
954
964
        eval $set_cc_for_build
967
977
        #endif
968
978
EOF
969
979
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970
 
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
 
980
        test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-${LIBC}"; exit; }
971
981
        ;;
972
982
    or1k:Linux:*:*)
973
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
983
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
974
984
        exit ;;
975
985
    or32:Linux:*:*)
976
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
986
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
977
987
        exit ;;
978
988
    padre:Linux:*:*)
979
 
        echo sparc-unknown-linux-${LIBC}
 
989
        echo sparc-${VENDOR}-linux-${LIBC}
980
990
        exit ;;
981
991
    parisc64:Linux:*:* | hppa64:Linux:*:*)
982
 
        echo hppa64-unknown-linux-${LIBC}
 
992
        echo hppa64-${VENDOR}-linux-${LIBC}
983
993
        exit ;;
984
994
    parisc:Linux:*:* | hppa:Linux:*:*)
985
995
        # Look for CPU level
986
996
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
987
 
          PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988
 
          PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989
 
          *)    echo hppa-unknown-linux-${LIBC} ;;
 
997
          PA7*) echo hppa1.1-${VENDOR}-linux-${LIBC} ;;
 
998
          PA8*) echo hppa2.0-${VENDOR}-linux-${LIBC} ;;
 
999
          *)    echo hppa-${VENDOR}-linux-${LIBC} ;;
990
1000
        esac
991
1001
        exit ;;
992
1002
    ppc64:Linux:*:*)
993
 
        echo powerpc64-unknown-linux-${LIBC}
 
1003
        echo powerpc64-${VENDOR}-linux-${LIBC}
994
1004
        exit ;;
995
1005
    ppc:Linux:*:*)
996
 
        echo powerpc-unknown-linux-${LIBC}
 
1006
        echo powerpc-${VENDOR}-linux-${LIBC}
997
1007
        exit ;;
998
1008
    ppc64le:Linux:*:*)
999
 
        echo powerpc64le-unknown-linux-${LIBC}
 
1009
        echo powerpc64le-${VENDOR}-linux-${LIBC}
1000
1010
        exit ;;
1001
1011
    ppcle:Linux:*:*)
1002
 
        echo powerpcle-unknown-linux-${LIBC}
 
1012
        echo powerpcle-${VENDOR}-linux-${LIBC}
1003
1013
        exit ;;
1004
1014
    s390:Linux:*:* | s390x:Linux:*:*)
1005
1015
        echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1006
1016
        exit ;;
1007
1017
    sh64*:Linux:*:*)
1008
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
1018
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
1009
1019
        exit ;;
1010
1020
    sh*:Linux:*:*)
1011
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
1021
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
1012
1022
        exit ;;
1013
1023
    sparc:Linux:*:* | sparc64:Linux:*:*)
1014
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
1024
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
1015
1025
        exit ;;
1016
1026
    tile*:Linux:*:*)
1017
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
1027
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
1018
1028
        exit ;;
1019
1029
    vax:Linux:*:*)
1020
1030
        echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1021
1031
        exit ;;
1022
1032
    x86_64:Linux:*:*)
1023
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
1033
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
1024
1034
        exit ;;
1025
1035
    xtensa*:Linux:*:*)
1026
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
1036
        echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
1027
1037
        exit ;;
1028
1038
    i*86:DYNIX/ptx:4*:*)
1029
1039
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1045
1055
        echo ${UNAME_MACHINE}-pc-os2-emx
1046
1056
        exit ;;
1047
1057
    i*86:XTS-300:*:STOP)
1048
 
        echo ${UNAME_MACHINE}-unknown-stop
 
1058
        echo ${UNAME_MACHINE}-${VENDOR}-stop
1049
1059
        exit ;;
1050
1060
    i*86:atheos:*:*)
1051
 
        echo ${UNAME_MACHINE}-unknown-atheos
 
1061
        echo ${UNAME_MACHINE}-${VENDOR}-atheos
1052
1062
        exit ;;
1053
1063
    i*86:syllable:*:*)
1054
1064
        echo ${UNAME_MACHINE}-pc-syllable
1055
1065
        exit ;;
1056
1066
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1057
 
        echo i386-unknown-lynxos${UNAME_RELEASE}
 
1067
        echo i386-${VENODR}-lynxos${UNAME_RELEASE}
1058
1068
        exit ;;
1059
1069
    i*86:*DOS:*:*)
1060
1070
        echo ${UNAME_MACHINE}-pc-msdosdjgpp
1074
1084
            *Pentium)        UNAME_MACHINE=i586 ;;
1075
1085
            *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1076
1086
        esac
1077
 
        echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
 
1087
        echo ${UNAME_MACHINE}-${VENDOR}-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1078
1088
        exit ;;
1079
1089
    i*86:*:3.2:*)
1080
1090
        if test -f /usr/options/cb.name; then
1113
1123
        if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1114
1124
          echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1115
1125
        else # Add other i860-SVR4 vendors below as they are discovered.
1116
 
          echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 
1126
          echo i860-${VENODR}-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
1117
1127
        fi
1118
1128
        exit ;;
1119
1129
    mini*:CTIX:SYS*5:*)
1150
1160
        /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1151
1161
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1152
1162
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1153
 
        echo m68k-unknown-lynxos${UNAME_RELEASE}
 
1163
        echo m68k-${VENDOR}-lynxos${UNAME_RELEASE}
1154
1164
        exit ;;
1155
1165
    mc68030:UNIX_System_V:4.*:*)
1156
1166
        echo m68k-atari-sysv4
1157
1167
        exit ;;
1158
1168
    TSUNAMI:LynxOS:2.*:*)
1159
 
        echo sparc-unknown-lynxos${UNAME_RELEASE}
 
1169
        echo sparc-${VENDOR}-lynxos${UNAME_RELEASE}
1160
1170
        exit ;;
1161
1171
    rs6000:LynxOS:2.*:*)
1162
 
        echo rs6000-unknown-lynxos${UNAME_RELEASE}
 
1172
        echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE}
1163
1173
        exit ;;
1164
1174
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1165
 
        echo powerpc-unknown-lynxos${UNAME_RELEASE}
 
1175
        echo powerpc-${VENDOR}-lynxos${UNAME_RELEASE}
1166
1176
        exit ;;
1167
1177
    SM[BE]S:UNIX_SV:*:*)
1168
1178
        echo mips-dde-sysv${UNAME_RELEASE}
1212
1222
        if [ -d /usr/nec ]; then
1213
1223
                echo mips-nec-sysv${UNAME_RELEASE}
1214
1224
        else
1215
 
                echo mips-unknown-sysv${UNAME_RELEASE}
 
1225
                echo mips-${VENDOR}-sysv${UNAME_RELEASE}
1216
1226
        fi
1217
1227
        exit ;;
1218
1228
    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
1228
1238
        echo i586-pc-haiku
1229
1239
        exit ;;
1230
1240
    x86_64:Haiku:*:*)
1231
 
        echo x86_64-unknown-haiku
 
1241
        echo x86_64-${VENDOR}-haiku
1232
1242
        exit ;;
1233
1243
    SX-4:SUPER-UX:*:*)
1234
1244
        echo sx4-nec-superux${UNAME_RELEASE}
1311
1321
        else
1312
1322
            UNAME_MACHINE="$cputype"
1313
1323
        fi
1314
 
        echo ${UNAME_MACHINE}-unknown-plan9
 
1324
        echo ${UNAME_MACHINE}-${VENDOR}-plan9
1315
1325
        exit ;;
1316
1326
    *:TOPS-10:*:*)
1317
 
        echo pdp10-unknown-tops10
 
1327
        echo pdp10-${VENDOR}-tops10
1318
1328
        exit ;;
1319
1329
    *:TENEX:*:*)
1320
 
        echo pdp10-unknown-tenex
 
1330
        echo pdp10-${VENDOR}-tenex
1321
1331
        exit ;;
1322
1332
    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1323
1333
        echo pdp10-dec-tops20
1326
1336
        echo pdp10-xkl-tops20
1327
1337
        exit ;;
1328
1338
    *:TOPS-20:*:*)
1329
 
        echo pdp10-unknown-tops20
 
1339
        echo pdp10-${VENDOR}-tops20
1330
1340
        exit ;;
1331
1341
    *:ITS:*:*)
1332
 
        echo pdp10-unknown-its
 
1342
        echo pdp10-${VENDOR}-its
1333
1343
        exit ;;
1334
1344
    SEI:*:*:SEIUX)
1335
1345
        echo mips-sei-seiux${UNAME_RELEASE}
1336
1346
        exit ;;
1337
1347
    *:DragonFly:*:*)
1338
 
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 
1348
        echo ${UNAME_MACHINE}-${VENDOR}-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1339
1349
        exit ;;
1340
1350
    *:*VMS:*:*)
1341
1351
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
1357
1367
        echo ${UNAME_MACHINE}-pc-aros
1358
1368
        exit ;;
1359
1369
    x86_64:VMkernel:*:*)
1360
 
        echo ${UNAME_MACHINE}-unknown-esx
 
1370
        echo ${UNAME_MACHINE}-${VENDOR}-esx
1361
1371
        exit ;;
1362
1372
esac
1363
1373