~ubuntu-branches/ubuntu/gutsy/mousepad/gutsy

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Jani Monoses
  • Date: 2006-06-30 12:16:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630121603-ql0h94be0h3eq2eq
Tags: 0.2.4-1ubuntu1
* Update from Debian
* Add our patch for gettext domain in the desktop file

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2005-08-03'
 
6
timestamp='2006-02-23'
7
7
 
8
8
# This file is free software; you can redistribute it and/or modify it
9
9
# under the terms of the GNU General Public License as published by
106
106
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
107
107
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
108
108
: ${TMPDIR=/tmp} ;
109
 
 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 
109
 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
110
110
 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
111
111
 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
112
112
 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
206
206
    *:ekkoBSD:*:*)
207
207
        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
208
208
        exit ;;
 
209
    *:SolidBSD:*:*)
 
210
        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
 
211
        exit ;;
209
212
    macppc:MirBSD:*:*)
210
213
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
211
214
        exit ;;
764
767
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
765
768
        exit ;;
766
769
    *:FreeBSD:*:*)
767
 
        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 
770
        case ${UNAME_MACHINE} in
 
771
            pc98)
 
772
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
773
            *)
 
774
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
775
        esac
768
776
        exit ;;
769
777
    i*:CYGWIN*:*)
770
778
        echo ${UNAME_MACHINE}-pc-cygwin
772
780
    i*:MINGW*:*)
773
781
        echo ${UNAME_MACHINE}-pc-mingw32
774
782
        exit ;;
 
783
    i*:MSYS_NT-*:*:*)
 
784
        echo ${UNAME_MACHINE}-pc-mingw32
 
785
        exit ;;
775
786
    i*:windows32*:*)
776
787
        # uname -m includes "-pc" on this system.
777
788
        echo ${UNAME_MACHINE}-mingw32
779
790
    i*:PW*:*)
780
791
        echo ${UNAME_MACHINE}-pc-pw32
781
792
        exit ;;
782
 
    x86:Interix*:[34]*)
783
 
        echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
 
793
    x86:Interix*:[345]*)
 
794
        echo i586-pc-interix${UNAME_RELEASE}
 
795
        exit ;;
 
796
    EM64T:Interix*:[345]*)
 
797
        echo x86_64-unknown-interix${UNAME_RELEASE}
784
798
        exit ;;
785
799
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
786
800
        echo i${UNAME_MACHINE}-pc-mks
851
865
        #endif
852
866
        #endif
853
867
EOF
854
 
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
 
868
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
869
            /^CPU/{
 
870
                s: ::g
 
871
                p
 
872
            }'`"
855
873
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
856
874
        ;;
857
875
    mips64:Linux:*:*)
870
888
        #endif
871
889
        #endif
872
890
EOF
873
 
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
 
891
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
892
            /^CPU/{
 
893
                s: ::g
 
894
                p
 
895
            }'`"
874
896
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
875
897
        ;;
876
898
    or32:Linux:*:*)
919
941
    sparc:Linux:*:* | sparc64:Linux:*:*)
920
942
        echo ${UNAME_MACHINE}-unknown-linux-gnu
921
943
        exit ;;
 
944
    vax:Linux:*:*)
 
945
        echo ${UNAME_MACHINE}-dec-linux-gnu
 
946
        exit ;;
922
947
    x86_64:Linux:*:*)
923
948
        echo x86_64-unknown-linux-gnu
924
949
        exit ;;
964
989
        LIBC=gnulibc1
965
990
        # endif
966
991
        #else
967
 
        #ifdef __INTEL_COMPILER
 
992
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
968
993
        LIBC=gnu
969
994
        #else
970
995
        LIBC=gnuaout
974
999
        LIBC=dietlibc
975
1000
        #endif
976
1001
EOF
977
 
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
 
1002
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
1003
            /^LIBC/{
 
1004
                s: ::g
 
1005
                p
 
1006
            }'`"
978
1007
        test x"${LIBC}" != x && {
979
1008
                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
980
1009
                exit
1185
1214
    *:Darwin:*:*)
1186
1215
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1187
1216
        case $UNAME_PROCESSOR in
1188
 
            *86) UNAME_PROCESSOR=i686 ;;
1189
1217
            unknown) UNAME_PROCESSOR=powerpc ;;
1190
1218
        esac
1191
1219
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1264
1292
    i*86:skyos:*:*)
1265
1293
        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1266
1294
        exit ;;
 
1295
    i*86:rdos:*:*)
 
1296
        echo ${UNAME_MACHINE}-pc-rdos
 
1297
        exit ;;
1267
1298
esac
1268
1299
 
1269
1300
#echo '(No uname command or uname output not recognized.)' 1>&2