~ubuntu-branches/debian/lenny/network-manager/lenny

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2008-07-05 15:11:33 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705151133-rnwi7uuhda2iulug
Tags: 0.6.6-2
* debian/control
  - Add Build-Depends on pkg-config.
  - Drop obsolete Depends on iputils-arping. (Closes: #487794)
* debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch 
  - Fix memory leak in src/nm-dbus-net.c. (Closes: #488604)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5
5
#   Inc.
6
6
 
7
 
timestamp='2006-05-13'
 
7
timestamp='2006-07-02'
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
 
 
152
142
# Note: order is significant - the case branches are not exclusive.
153
143
 
154
144
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
221
211
        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
222
212
        exit ;;
223
213
    macppc:MirBSD:*:*)
224
 
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
 
214
        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
225
215
        exit ;;
226
216
    *:MirBSD:*:*)
227
217
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
800
790
    i*:PW*:*)
801
791
        echo ${UNAME_MACHINE}-pc-pw32
802
792
        exit ;;
803
 
    x86:Interix*:[345]*)
 
793
    x86:Interix*:[3456]*)
804
794
        echo i586-pc-interix${UNAME_RELEASE}
805
795
        exit ;;
806
 
    EM64T:Interix*:[345]*)
 
796
    EM64T:Interix*:[3456]*)
807
797
        echo x86_64-unknown-interix${UNAME_RELEASE}
808
798
        exit ;;
809
799
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
839
829
        echo ${UNAME_MACHINE}-pc-minix
840
830
        exit ;;
841
831
    arm*:Linux:*:*)
842
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
832
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
833
        exit ;;
 
834
    avr32*:Linux:*:*)
 
835
        echo ${UNAME_MACHINE}-unknown-linux-gnu
843
836
        exit ;;
844
837
    cris:Linux:*:*)
845
838
        echo cris-axis-linux-gnu
848
841
        echo crisv32-axis-linux-gnu
849
842
        exit ;;
850
843
    frv:Linux:*:*)
851
 
        echo frv-${VENDOR}-linux-gnu
 
844
        echo frv-unknown-linux-gnu
852
845
        exit ;;
853
846
    ia64:Linux:*:*)
854
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
847
        echo ${UNAME_MACHINE}-unknown-linux-gnu
855
848
        exit ;;
856
849
    m32r*:Linux:*:*)
857
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
850
        echo ${UNAME_MACHINE}-unknown-linux-gnu
858
851
        exit ;;
859
852
    m68*:Linux:*:*)
860
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
853
        echo ${UNAME_MACHINE}-unknown-linux-gnu
861
854
        exit ;;
862
855
    mips:Linux:*:*)
863
856
        eval $set_cc_for_build
880
873
                s: ::g
881
874
                p
882
875
            }'`"
883
 
        test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
 
876
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
884
877
        ;;
885
878
    mips64:Linux:*:*)
886
879
        eval $set_cc_for_build
903
896
                s: ::g
904
897
                p
905
898
            }'`"
906
 
        test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
 
899
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
907
900
        ;;
908
901
    or32:Linux:*:*)
909
 
        echo or32-${VENDOR}-linux-gnu
 
902
        echo or32-unknown-linux-gnu
910
903
        exit ;;
911
904
    ppc:Linux:*:*)
912
 
        echo powerpc-${VENDOR}-linux-gnu
 
905
        echo powerpc-unknown-linux-gnu
913
906
        exit ;;
914
907
    ppc64:Linux:*:*)
915
 
        echo powerpc64-${VENDOR}-linux-gnu
 
908
        echo powerpc64-unknown-linux-gnu
916
909
        exit ;;
917
910
    alpha:Linux:*:*)
918
911
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
926
919
        esac
927
920
        objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
928
921
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
929
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
 
922
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
930
923
        exit ;;
931
924
    parisc:Linux:*:* | hppa:Linux:*:*)
932
925
        # Look for CPU level
933
926
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
934
 
          PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;;
935
 
          PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;;
936
 
          *)    echo hppa-${VENDOR}-linux-gnu ;;
 
927
          PA7*) echo hppa1.1-unknown-linux-gnu ;;
 
928
          PA8*) echo hppa2.0-unknown-linux-gnu ;;
 
929
          *)    echo hppa-unknown-linux-gnu ;;
937
930
        esac
938
931
        exit ;;
939
932
    parisc64:Linux:*:* | hppa64:Linux:*:*)
940
 
        echo hppa64-${VENDOR}-linux-gnu
 
933
        echo hppa64-unknown-linux-gnu
941
934
        exit ;;
942
935
    s390:Linux:*:* | s390x:Linux:*:*)
943
936
        echo ${UNAME_MACHINE}-ibm-linux
944
937
        exit ;;
945
938
    sh64*:Linux:*:*)
946
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
939
        echo ${UNAME_MACHINE}-unknown-linux-gnu
947
940
        exit ;;
948
941
    sh*:Linux:*:*)
949
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
942
        echo ${UNAME_MACHINE}-unknown-linux-gnu
950
943
        exit ;;
951
944
    sparc:Linux:*:* | sparc64:Linux:*:*)
952
 
        echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
 
945
        echo ${UNAME_MACHINE}-unknown-linux-gnu
953
946
        exit ;;
954
947
    vax:Linux:*:*)
955
948
        echo ${UNAME_MACHINE}-dec-linux-gnu
956
949
        exit ;;
957
950
    x86_64:Linux:*:*)
958
 
        echo x86_64-${VENDOR}-linux-gnu
 
951
        echo x86_64-unknown-linux-gnu
959
952
        exit ;;
960
953
    i*86:Linux:*:*)
961
954
        # The BFD linker knows what the default object file format is, so
970
963
                                    p'`
971
964
        case "$ld_supported_targets" in
972
965
          elf32-i386)
973
 
                TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu"
 
966
                TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
974
967
                ;;
975
968
          a.out-i386-linux)
976
 
                echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout"
 
969
                echo "${UNAME_MACHINE}-pc-linux-gnuaout"
977
970
                exit ;;
978
971
          coff-i386)
979
 
                echo "${UNAME_MACHINE}-${VENDOR}-linux-gnucoff"
 
972
                echo "${UNAME_MACHINE}-pc-linux-gnucoff"
980
973
                exit ;;
981
974
          "")
982
 
                # Either a pre-BFD a.out linker (linuxoldld) or
 
975
                # Either a pre-BFD a.out linker (linux-gnuoldld) or
983
976
                # one that does not give us useful --help.
984
 
                echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld"
 
977
                echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
985
978
                exit ;;
986
979
        esac
987
980
        # Determine whether the default compiler is a.out or elf
1015
1008
                p
1016
1009
            }'`"
1017
1010
        test x"${LIBC}" != x && {
1018
 
                echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}"
 
1011
                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1019
1012
                exit
1020
1013
        }
1021
1014
        test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }