~ubuntu-branches/ubuntu/jaunty/google-perftools/jaunty

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Daigo Moriwaki
  • Date: 2008-06-15 23:41:36 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20080615234136-al5gawvdvt5vhdtz
Tags: 0.98-1
* New upstream release. (Closes: #425147)
* Compiled with GCC 4.3. (Closes: #454841)
* debian/watch: can now report upstream's version (Closes: #450294)
* Because of a file conflict between tau and libgoogle-perftools the
  binary pprof is renamed as google-pprof. (Closes: #404001)
  Great thanks to Michael Mende.
* debian/rules: autoconf files are now generated at the build time.
* Bumped up Standards-Version to 3.7.3, no changes are required.
* Split a new package, libtcmallc_minimal0. The upstream supports
  this module for wider platforms. So I leave its architecture to be
  `any'.
* libgoogle-perftools0's architecture is now i386. The upstream
  supports this module for x86 and x86_64. However, x86_64 requires
  libunwind's development head, which Debian does not have yet.
* Removed an unnecessary patch, debian/patches/02_profiler.cc_alpha.diff.

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='2006-02-23'
 
6
timestamp='2005-08-03'
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 "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 
109
 { tmp=`(umask 077 && mktemp -d -q "$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 ;;
212
209
    macppc:MirBSD:*:*)
213
210
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
214
211
        exit ;;
767
764
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
768
765
        exit ;;
769
766
    *:FreeBSD:*:*)
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
 
767
        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
776
768
        exit ;;
777
769
    i*:CYGWIN*:*)
778
770
        echo ${UNAME_MACHINE}-pc-cygwin
780
772
    i*:MINGW*:*)
781
773
        echo ${UNAME_MACHINE}-pc-mingw32
782
774
        exit ;;
783
 
    i*:MSYS_NT-*:*:*)
784
 
        echo ${UNAME_MACHINE}-pc-mingw32
785
 
        exit ;;
786
775
    i*:windows32*:*)
787
776
        # uname -m includes "-pc" on this system.
788
777
        echo ${UNAME_MACHINE}-mingw32
790
779
    i*:PW*:*)
791
780
        echo ${UNAME_MACHINE}-pc-pw32
792
781
        exit ;;
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}
 
782
    x86:Interix*:[34]*)
 
783
        echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
798
784
        exit ;;
799
785
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
800
786
        echo i${UNAME_MACHINE}-pc-mks
865
851
        #endif
866
852
        #endif
867
853
EOF
868
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
869
 
            /^CPU/{
870
 
                s: ::g
871
 
                p
872
 
            }'`"
 
854
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
873
855
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
874
856
        ;;
875
857
    mips64:Linux:*:*)
888
870
        #endif
889
871
        #endif
890
872
EOF
891
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
892
 
            /^CPU/{
893
 
                s: ::g
894
 
                p
895
 
            }'`"
 
873
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
896
874
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
897
875
        ;;
898
876
    or32:Linux:*:*)
941
919
    sparc:Linux:*:* | sparc64:Linux:*:*)
942
920
        echo ${UNAME_MACHINE}-unknown-linux-gnu
943
921
        exit ;;
944
 
    vax:Linux:*:*)
945
 
        echo ${UNAME_MACHINE}-dec-linux-gnu
946
 
        exit ;;
947
922
    x86_64:Linux:*:*)
948
923
        echo x86_64-unknown-linux-gnu
949
924
        exit ;;
989
964
        LIBC=gnulibc1
990
965
        # endif
991
966
        #else
992
 
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
 
967
        #ifdef __INTEL_COMPILER
993
968
        LIBC=gnu
994
969
        #else
995
970
        LIBC=gnuaout
999
974
        LIBC=dietlibc
1000
975
        #endif
1001
976
EOF
1002
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1003
 
            /^LIBC/{
1004
 
                s: ::g
1005
 
                p
1006
 
            }'`"
 
977
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
1007
978
        test x"${LIBC}" != x && {
1008
979
                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1009
980
                exit
1214
1185
    *:Darwin:*:*)
1215
1186
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1216
1187
        case $UNAME_PROCESSOR in
 
1188
            *86) UNAME_PROCESSOR=i686 ;;
1217
1189
            unknown) UNAME_PROCESSOR=powerpc ;;
1218
1190
        esac
1219
1191
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1292
1264
    i*86:skyos:*:*)
1293
1265
        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1294
1266
        exit ;;
1295
 
    i*86:rdos:*:*)
1296
 
        echo ${UNAME_MACHINE}-pc-rdos
1297
 
        exit ;;
1298
1267
esac
1299
1268
 
1300
1269
#echo '(No uname command or uname output not recognized.)' 1>&2