~ubuntu-branches/ubuntu/edgy/gedit/edgy

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-10-01 18:32:44 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20061001183244-tvnknjw2laipobkf
Tags: 2.16.1-0ubuntu1
* New upstream version:
  Fixes:
  - Remember the active page in the side and bottom panes
  - Fix spinner with some themes
  - Some fixes to the file saving code
  - Filebrowser plugin fixes
* debian/patches/70_relibtoolize.patch:
  - updated

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-07-08'
 
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
794
808
    i*:UWIN*:*)
795
809
        echo ${UNAME_MACHINE}-pc-uwin
796
810
        exit ;;
797
 
    amd64:CYGWIN*:*:*)
 
811
    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
798
812
        echo x86_64-unknown-cygwin
799
813
        exit ;;
800
814
    p*:CYGWIN*:*)
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
        ;;
 
898
    or32:Linux:*:*)
 
899
        echo or32-unknown-linux-gnu
 
900
        exit ;;
876
901
    ppc:Linux:*:*)
877
902
        echo powerpc-unknown-linux-gnu
878
903
        exit ;;
916
941
    sparc:Linux:*:* | sparc64:Linux:*:*)
917
942
        echo ${UNAME_MACHINE}-unknown-linux-gnu
918
943
        exit ;;
 
944
    vax:Linux:*:*)
 
945
        echo ${UNAME_MACHINE}-dec-linux-gnu
 
946
        exit ;;
919
947
    x86_64:Linux:*:*)
920
948
        echo x86_64-unknown-linux-gnu
921
949
        exit ;;
961
989
        LIBC=gnulibc1
962
990
        # endif
963
991
        #else
964
 
        #ifdef __INTEL_COMPILER
 
992
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
965
993
        LIBC=gnu
966
994
        #else
967
995
        LIBC=gnuaout
971
999
        LIBC=dietlibc
972
1000
        #endif
973
1001
EOF
974
 
        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
            }'`"
975
1007
        test x"${LIBC}" != x && {
976
1008
                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
977
1009
                exit
1182
1214
    *:Darwin:*:*)
1183
1215
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1184
1216
        case $UNAME_PROCESSOR in
1185
 
            *86) UNAME_PROCESSOR=i686 ;;
1186
1217
            unknown) UNAME_PROCESSOR=powerpc ;;
1187
1218
        esac
1188
1219
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1261
1292
    i*86:skyos:*:*)
1262
1293
        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1263
1294
        exit ;;
 
1295
    i*86:rdos:*:*)
 
1296
        echo ${UNAME_MACHINE}-pc-rdos
 
1297
        exit ;;
1264
1298
esac
1265
1299
 
1266
1300
#echo '(No uname command or uname output not recognized.)' 1>&2