Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: third_party/tcmalloc/vendor/config.guess

Issue 9316021: Update the tcmalloc vendor branch to r144 (gperftools 2.0). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reuploading Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/tcmalloc/vendor/compile ('k') | third_party/tcmalloc/vendor/config.sub » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Attempt to guess a canonical system name. 2 # Attempt to guess a canonical system name.
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5 # Inc. 5 # Free Software Foundation, Inc.
6 6
7 timestamp='2007-07-22' 7 timestamp='2008-01-08'
8 8
9 # This file is free software; you can redistribute it and/or modify it 9 # This file is free software; you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License as published by 10 # under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or 11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version. 12 # (at your option) any later version.
13 # 13 #
14 # This program is distributed in the hope that it will be useful, but 14 # This program is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of 15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # General Public License for more details. 17 # General Public License for more details.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 -h, --help print this help, then exit 49 -h, --help print this help, then exit
50 -t, --time-stamp print date of last modification, then exit 50 -t, --time-stamp print date of last modification, then exit
51 -v, --version print version number, then exit 51 -v, --version print version number, then exit
52 52
53 Report bugs and patches to <config-patches@gnu.org>." 53 Report bugs and patches to <config-patches@gnu.org>."
54 54
55 version="\ 55 version="\
56 GNU config.guess ($timestamp) 56 GNU config.guess ($timestamp)
57 57
58 Originally written by Per Bothner. 58 Originally written by Per Bothner.
59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
60 Free Software Foundation, Inc. 60 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
61 61
62 This is free software; see the source for copying conditions. There is NO 62 This is free software; see the source for copying conditions. There is NO
63 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 63 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
64 64
65 help=" 65 help="
66 Try \`$me --help' for more information." 66 Try \`$me --help' for more information."
67 67
68 # Parse command line 68 # Parse command line
69 while test $# -gt 0 ; do 69 while test $# -gt 0 ; do
70 case $1 in 70 case $1 in
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 echo "$SYSTEM_NAME" 525 echo "$SYSTEM_NAME"
526 else 526 else
527 echo rs6000-ibm-aix3.2.5 527 echo rs6000-ibm-aix3.2.5
528 fi 528 fi
529 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 529 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
530 echo rs6000-ibm-aix3.2.4 530 echo rs6000-ibm-aix3.2.4
531 else 531 else
532 echo rs6000-ibm-aix3.2 532 echo rs6000-ibm-aix3.2
533 fi 533 fi
534 exit ;; 534 exit ;;
535 *:AIX:*:[45]) 535 *:AIX:*:[456])
536 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 536 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
537 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; t hen 537 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; t hen
538 IBM_ARCH=rs6000 538 IBM_ARCH=rs6000
539 else 539 else
540 IBM_ARCH=powerpc 540 IBM_ARCH=powerpc
541 fi 541 fi
542 if [ -x /usr/bin/oslevel ] ; then 542 if [ -x /usr/bin/oslevel ] ; then
543 IBM_REV=`/usr/bin/oslevel` 543 IBM_REV=`/usr/bin/oslevel`
544 else 544 else
545 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 545 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 echo ${UNAME_MACHINE}-pc-pw32 792 echo ${UNAME_MACHINE}-pc-pw32
793 exit ;; 793 exit ;;
794 *:Interix*:[3456]*) 794 *:Interix*:[3456]*)
795 case ${UNAME_MACHINE} in 795 case ${UNAME_MACHINE} in
796 x86) 796 x86)
797 echo i586-pc-interix${UNAME_RELEASE} 797 echo i586-pc-interix${UNAME_RELEASE}
798 exit ;; 798 exit ;;
799 EM64T | authenticamd) 799 EM64T | authenticamd)
800 echo x86_64-unknown-interix${UNAME_RELEASE} 800 echo x86_64-unknown-interix${UNAME_RELEASE}
801 exit ;; 801 exit ;;
802 IA64)
803 echo ia64-unknown-interix${UNAME_RELEASE}
804 exit ;;
802 esac ;; 805 esac ;;
803 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 806 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
804 echo i${UNAME_MACHINE}-pc-mks 807 echo i${UNAME_MACHINE}-pc-mks
805 exit ;; 808 exit ;;
806 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 809 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
807 # How do we know it's Interix rather than the generic POSIX subsystem? 810 # How do we know it's Interix rather than the generic POSIX subsystem?
808 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we 811 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
809 # UNAME_MACHINE based on the output of uname instead of i386? 812 # UNAME_MACHINE based on the output of uname instead of i386?
810 echo i586-pc-interix 813 echo i586-pc-interix
811 exit ;; 814 exit ;;
(...skipping 14 matching lines...) Expand all
826 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNA ME_RELEASE}|sed -e 's,/.*$,,'` 829 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNA ME_RELEASE}|sed -e 's,/.*$,,'`
827 exit ;; 830 exit ;;
828 *:GNU/*:*:*) 831 *:GNU/*:*:*)
829 # other systems with GNU libc and userland 832 # other systems with GNU libc and userland
830 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu 833 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
831 exit ;; 834 exit ;;
832 i*86:Minix:*:*) 835 i*86:Minix:*:*)
833 echo ${UNAME_MACHINE}-pc-minix 836 echo ${UNAME_MACHINE}-pc-minix
834 exit ;; 837 exit ;;
835 arm*:Linux:*:*) 838 arm*:Linux:*:*)
836 » echo ${UNAME_MACHINE}-unknown-linux-gnu 839 » eval $set_cc_for_build
840 » if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
841 » | grep -q __ARM_EABI__
842 » then
843 » echo ${UNAME_MACHINE}-unknown-linux-gnu
844 » else
845 » echo ${UNAME_MACHINE}-unknown-linux-gnueabi
846 » fi
837 exit ;; 847 exit ;;
838 avr32*:Linux:*:*) 848 avr32*:Linux:*:*)
839 echo ${UNAME_MACHINE}-unknown-linux-gnu 849 echo ${UNAME_MACHINE}-unknown-linux-gnu
840 exit ;; 850 exit ;;
841 cris:Linux:*:*) 851 cris:Linux:*:*)
842 echo cris-axis-linux-gnu 852 echo cris-axis-linux-gnu
843 exit ;; 853 exit ;;
844 crisv32:Linux:*:*) 854 crisv32:Linux:*:*)
845 echo crisv32-axis-linux-gnu 855 echo crisv32-axis-linux-gnu
846 exit ;; 856 exit ;;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 exit ;; 957 exit ;;
948 sparc:Linux:*:* | sparc64:Linux:*:*) 958 sparc:Linux:*:* | sparc64:Linux:*:*)
949 echo ${UNAME_MACHINE}-unknown-linux-gnu 959 echo ${UNAME_MACHINE}-unknown-linux-gnu
950 exit ;; 960 exit ;;
951 vax:Linux:*:*) 961 vax:Linux:*:*)
952 echo ${UNAME_MACHINE}-dec-linux-gnu 962 echo ${UNAME_MACHINE}-dec-linux-gnu
953 exit ;; 963 exit ;;
954 x86_64:Linux:*:*) 964 x86_64:Linux:*:*)
955 echo x86_64-unknown-linux-gnu 965 echo x86_64-unknown-linux-gnu
956 exit ;; 966 exit ;;
957 xtensa:Linux:*:*) 967 xtensa*:Linux:*:*)
958 » echo xtensa-unknown-linux-gnu 968 » echo ${UNAME_MACHINE}-unknown-linux-gnu
959 exit ;; 969 exit ;;
960 i*86:Linux:*:*) 970 i*86:Linux:*:*)
961 # The BFD linker knows what the default object file format is, so 971 # The BFD linker knows what the default object file format is, so
962 # first see if it will tell us. cd to the root directory to prevent 972 # first see if it will tell us. cd to the root directory to prevent
963 # problems with other programs or directories called `ld' in the path. 973 # problems with other programs or directories called `ld' in the path.
964 # Set LC_ALL=C to ensure ld outputs messages in English. 974 # Set LC_ALL=C to ensure ld outputs messages in English.
965 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ 975 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
966 | sed -ne '/supported targets:/!d 976 | sed -ne '/supported targets:/!d
967 s/[ ][ ]*/ /g 977 s/[ ][ ]*/ /g
968 s/.*supported targets: *// 978 s/.*supported targets: *//
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 EOF 1517 EOF
1508 1518
1509 exit 1 1519 exit 1
1510 1520
1511 # Local variables: 1521 # Local variables:
1512 # eval: (add-hook 'write-file-hooks 'time-stamp) 1522 # eval: (add-hook 'write-file-hooks 'time-stamp)
1513 # time-stamp-start: "timestamp='" 1523 # time-stamp-start: "timestamp='"
1514 # time-stamp-format: "%:y-%02m-%02d" 1524 # time-stamp-format: "%:y-%02m-%02d"
1515 # time-stamp-end: "'" 1525 # time-stamp-end: "'"
1516 # End: 1526 # End:
OLDNEW
« no previous file with comments | « third_party/tcmalloc/vendor/compile ('k') | third_party/tcmalloc/vendor/config.sub » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698