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

Side by Side Diff: third_party/libevent/config.guess

Issue 412006: posix: upgrade libevent from 1.4.7 to 1.4.13 (Closed)
Patch Set: better readme Created 11 years, 1 month 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
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-05-17' 7 timestamp='2008-01-23'
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) 323 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
324 case `/usr/bin/uname -p` in 324 case `/usr/bin/uname -p` in
325 sparc) echo sparc-icl-nx7; exit ;; 325 sparc) echo sparc-icl-nx7; exit ;;
326 esac ;; 326 esac ;;
327 sun4H:SunOS:5.*:*) 327 sun4H:SunOS:5.*:*)
328 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 328 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
329 exit ;; 329 exit ;;
330 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 330 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332 exit ;; 332 exit ;;
333 i86pc:SunOS:5.*:* | ix86xen:SunOS:5.*:*) 333 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 335 exit ;;
336 sun4*:SunOS:6*:*) 336 sun4*:SunOS:6*:*)
337 # According to config.sub, this is the proper way to canonicalize 337 # According to config.sub, this is the proper way to canonicalize
338 # SunOS6. Hard to guess exactly what SunOS6 will be like, but 338 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
339 # it's likely to be more like Solaris than SunOS4. 339 # it's likely to be more like Solaris than SunOS4.
340 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 340 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
341 exit ;; 341 exit ;;
342 sun4*:SunOS:*:*) 342 sun4*:SunOS:*:*)
343 case "`/usr/bin/arch -k`" in 343 case "`/usr/bin/arch -k`" in
(...skipping 181 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 exit ;; 786 exit ;;
787 i*:windows32*:*) 787 i*:windows32*:*)
788 # uname -m includes "-pc" on this system. 788 # uname -m includes "-pc" on this system.
789 echo ${UNAME_MACHINE}-mingw32 789 echo ${UNAME_MACHINE}-mingw32
790 exit ;; 790 exit ;;
791 i*:PW*:*) 791 i*:PW*:*)
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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 esac 1477 esac
1468 fi 1478 fi
1469 1479
1470 cat >&2 <<EOF 1480 cat >&2 <<EOF
1471 $0: unable to guess system type 1481 $0: unable to guess system type
1472 1482
1473 This script, last modified $timestamp, has failed to recognize 1483 This script, last modified $timestamp, has failed to recognize
1474 the operating system you are using. It is advised that you 1484 the operating system you are using. It is advised that you
1475 download the most up to date version of the config scripts from 1485 download the most up to date version of the config scripts from
1476 1486
1477 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess 1487 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;h b=HEAD
1478 and 1488 and
1479 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub 1489 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb= HEAD
1480 1490
1481 If the version you run ($0) is already up to date, please 1491 If the version you run ($0) is already up to date, please
1482 send the following data and any information you think might be 1492 send the following data and any information you think might be
1483 pertinent to <config-patches@gnu.org> in order to provide the needed 1493 pertinent to <config-patches@gnu.org> in order to provide the needed
1484 information to handle your system. 1494 information to handle your system.
1485 1495
1486 config.guess timestamp = $timestamp 1496 config.guess timestamp = $timestamp
1487 1497
1488 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1498 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1499 uname -r = `(uname -r) 2>/dev/null || echo unknown`
(...skipping 17 matching lines...) Expand all
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

Powered by Google App Engine
This is Rietveld 408576698