~bratsche/oif/eog-rotate-gesture-2

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-05 11:18:27 UTC
  • mfrom: (1.14.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100805111827-mg8n4etd5pj7btti
Tags: 2.31.5-0ubuntu1
* New upstream versions:
  - New toolbar button and 'P' shortcut to pause the slideshow (lp: #272552)
  - Rename "Image Collection" to "Image Gallery" 
  - Update totem-scrsaver to use GDBus 
  - Render SVGs natively when zoomed 
  - Print SVGs as vector image 
  - Embed page setup in print dialog 
  - Various UI improvements 
  - Further GSEAL-compatibility work 
* debian/control.in:
  - require librsvg, updated glib and gtk requirements
* debian/control.in, debian/patches/99_autoconf.patch, debian/rules:
  - run autoreconf at build time now

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2010-04-03'
 
7
timestamp='2009-12-30'
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
92
92
  exit 1
93
93
fi
94
94
 
95
 
trap 'exit 1' HUP INT TERM
 
95
trap 'exit 1' 1 2 15
96
96
 
97
97
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
98
98
# compiler to aid in system detection is discouraged as it requires
106
106
 
107
107
set_cc_for_build='
108
108
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
109
 
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
 
109
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
110
110
: ${TMPDIR=/tmp} ;
111
111
 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
112
112
 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
140
140
UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
141
141
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
142
142
 
143
 
case "${UNAME_SYSTEM}" in
144
 
Linux|GNU/*)
145
 
        eval $set_cc_for_build
146
 
        cat <<-EOF > $dummy.c
147
 
        #include <features.h>
148
 
        #ifdef __UCLIBC__
149
 
        # ifdef __UCLIBC_CONFIG_VERSION__
150
 
        LIBC=uclibc __UCLIBC_CONFIG_VERSION__
151
 
        # else
152
 
        LIBC=uclibc
153
 
        # endif
154
 
        #else
155
 
        # ifdef __dietlibc__
156
 
        LIBC=dietlibc
157
 
        # else
158
 
        LIBC=gnu
159
 
        # endif
160
 
        #endif
161
 
        EOF
162
 
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
163
 
        ;;
164
 
esac
165
 
 
166
143
# Note: order is significant - the case branches are not exclusive.
167
144
 
168
145
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
872
849
        exit ;;
873
850
    *:GNU:*:*)
874
851
        # the GNU system
875
 
        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 
852
        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
876
853
        exit ;;
877
854
    *:GNU/*:*:*)
878
855
        # other systems with GNU libc and userland
879
 
        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
 
856
        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
880
857
        exit ;;
881
858
    i*86:Minix:*:*)
882
859
        echo ${UNAME_MACHINE}-pc-minix
892
869
          EV68*) UNAME_MACHINE=alphaev68 ;;
893
870
        esac
894
871
        objdump --private-headers /bin/sh | grep -q ld.so.1
895
 
        if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
896
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
872
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 
873
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
897
874
        exit ;;
898
875
    arm*:Linux:*:*)
899
876
        eval $set_cc_for_build
900
877
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
901
878
            | grep -q __ARM_EABI__
902
879
        then
903
 
            echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
880
            echo ${UNAME_MACHINE}-unknown-linux-gnu
904
881
        else
905
 
            echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
 
882
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
906
883
        fi
907
884
        exit ;;
908
885
    avr32*:Linux:*:*)
909
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
886
        echo ${UNAME_MACHINE}-unknown-linux-gnu
910
887
        exit ;;
911
888
    cris:Linux:*:*)
912
 
        echo cris-axis-linux-${LIBC}
 
889
        echo cris-axis-linux-gnu
913
890
        exit ;;
914
891
    crisv32:Linux:*:*)
915
 
        echo crisv32-axis-linux-${LIBC}
 
892
        echo crisv32-axis-linux-gnu
916
893
        exit ;;
917
894
    frv:Linux:*:*)
918
 
        echo frv-unknown-linux-${LIBC}
 
895
        echo frv-unknown-linux-gnu
919
896
        exit ;;
920
897
    i*86:Linux:*:*)
921
 
        echo ${UNAME_MACHINE}-pc-linux-${LIBC}
 
898
        LIBC=gnu
 
899
        eval $set_cc_for_build
 
900
        sed 's/^        //' << EOF >$dummy.c
 
901
        #ifdef __dietlibc__
 
902
        LIBC=dietlibc
 
903
        #endif
 
904
EOF
 
905
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
 
906
        echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
922
907
        exit ;;
923
908
    ia64:Linux:*:*)
924
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
909
        echo ${UNAME_MACHINE}-unknown-linux-gnu
925
910
        exit ;;
926
911
    m32r*:Linux:*:*)
927
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
912
        echo ${UNAME_MACHINE}-unknown-linux-gnu
928
913
        exit ;;
929
914
    m68*:Linux:*:*)
930
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
915
        echo ${UNAME_MACHINE}-unknown-linux-gnu
931
916
        exit ;;
932
917
    mips:Linux:*:* | mips64:Linux:*:*)
933
918
        eval $set_cc_for_build
946
931
        #endif
947
932
EOF
948
933
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
949
 
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
 
934
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
950
935
        ;;
951
936
    or32:Linux:*:*)
952
 
        echo or32-unknown-linux-${LIBC}
 
937
        echo or32-unknown-linux-gnu
953
938
        exit ;;
954
939
    padre:Linux:*:*)
955
 
        echo sparc-unknown-linux-${LIBC}
 
940
        echo sparc-unknown-linux-gnu
956
941
        exit ;;
957
942
    parisc64:Linux:*:* | hppa64:Linux:*:*)
958
 
        echo hppa64-unknown-linux-${LIBC}
 
943
        echo hppa64-unknown-linux-gnu
959
944
        exit ;;
960
945
    parisc:Linux:*:* | hppa:Linux:*:*)
961
946
        # Look for CPU level
962
947
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
963
 
          PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
964
 
          PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
965
 
          *)    echo hppa-unknown-linux-${LIBC} ;;
 
948
          PA7*) echo hppa1.1-unknown-linux-gnu ;;
 
949
          PA8*) echo hppa2.0-unknown-linux-gnu ;;
 
950
          *)    echo hppa-unknown-linux-gnu ;;
966
951
        esac
967
952
        exit ;;
968
953
    ppc64:Linux:*:*)
969
 
        echo powerpc64-unknown-linux-${LIBC}
 
954
        echo powerpc64-unknown-linux-gnu
970
955
        exit ;;
971
956
    ppc:Linux:*:*)
972
 
        echo powerpc-unknown-linux-${LIBC}
 
957
        echo powerpc-unknown-linux-gnu
973
958
        exit ;;
974
959
    s390:Linux:*:* | s390x:Linux:*:*)
975
960
        echo ${UNAME_MACHINE}-ibm-linux
976
961
        exit ;;
977
962
    sh64*:Linux:*:*)
978
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
963
        echo ${UNAME_MACHINE}-unknown-linux-gnu
979
964
        exit ;;
980
965
    sh*:Linux:*:*)
981
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
966
        echo ${UNAME_MACHINE}-unknown-linux-gnu
982
967
        exit ;;
983
968
    sparc:Linux:*:* | sparc64:Linux:*:*)
984
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
969
        echo ${UNAME_MACHINE}-unknown-linux-gnu
985
970
        exit ;;
986
971
    vax:Linux:*:*)
987
 
        echo ${UNAME_MACHINE}-dec-linux-${LIBC}
 
972
        echo ${UNAME_MACHINE}-dec-linux-gnu
988
973
        exit ;;
989
974
    x86_64:Linux:*:*)
990
 
        echo x86_64-unknown-linux-${LIBC}
 
975
        echo x86_64-unknown-linux-gnu
991
976
        exit ;;
992
977
    xtensa*:Linux:*:*)
993
 
        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 
978
        echo ${UNAME_MACHINE}-unknown-linux-gnu
994
979
        exit ;;
995
980
    i*86:DYNIX/ptx:4*:*)
996
981
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.