| OLD | NEW | 
|     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, 2009 | 
|     5 #   Inc. |     5 #   Free Software Foundation, Inc. | 
|     6  |     6  | 
|     7 timestamp='2007-05-17' |     7 timestamp='2009-11-20' | 
|     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. | 
|    18 # |    18 # | 
|    19 # You should have received a copy of the GNU General Public License |    19 # You should have received a copy of the GNU General Public License | 
|    20 # along with this program; if not, write to the Free Software |    20 # along with this program; if not, write to the Free Software | 
|    21 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |    21 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | 
|    22 # 02110-1301, USA. |    22 # 02110-1301, USA. | 
|    23 # |    23 # | 
|    24 # As a special exception to the GNU General Public License, if you |    24 # As a special exception to the GNU General Public License, if you | 
|    25 # distribute this file as part of a program that contains a |    25 # distribute this file as part of a program that contains a | 
|    26 # configuration script generated by Autoconf, you may include it under |    26 # configuration script generated by Autoconf, you may include it under | 
|    27 # the same distribution terms that you use for the rest of that program. |    27 # the same distribution terms that you use for the rest of that program. | 
|    28  |    28  | 
|    29  |    29  | 
|    30 # Originally written by Per Bothner <per@bothner.com>. |    30 # Originally written by Per Bothner.  Please send patches (context | 
|    31 # Please send patches to <config-patches@gnu.org>.  Submit a context |    31 # diff format) to <config-patches@gnu.org> and include a ChangeLog | 
|    32 # diff and a properly formatted ChangeLog entry. |    32 # entry. | 
|    33 # |    33 # | 
|    34 # This script attempts to guess a canonical system name similar to |    34 # This script attempts to guess a canonical system name similar to | 
|    35 # config.sub.  If it succeeds, it prints the system name on stdout, and |    35 # config.sub.  If it succeeds, it prints the system name on stdout, and | 
|    36 # exits with 0.  Otherwise, it exits with 1. |    36 # exits with 0.  Otherwise, it exits with 1. | 
|    37 # |    37 # | 
|    38 # The plan is that this can be called by configure scripts if you |    38 # You can get the latest version of this script from: | 
|    39 # don't specify an explicit build system type. |    39 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;h
      b=HEAD | 
|    40  |    40  | 
|    41 me=`echo "$0" | sed -e 's,.*/,,'` |    41 me=`echo "$0" | sed -e 's,.*/,,'` | 
|    42  |    42  | 
|    43 usage="\ |    43 usage="\ | 
|    44 Usage: $0 [OPTION] |    44 Usage: $0 [OPTION] | 
|    45  |    45  | 
|    46 Output the configuration name of the system \`$me' is run on. |    46 Output the configuration name of the system \`$me' is run on. | 
|    47  |    47  | 
|    48 Operation modes: |    48 Operation modes: | 
|    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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   163             sh3eb) machine=sh-unknown ;; |   163             sh3eb) machine=sh-unknown ;; | 
|   164             sh5el) machine=sh5le-unknown ;; |   164             sh5el) machine=sh5le-unknown ;; | 
|   165             *) machine=${UNAME_MACHINE_ARCH}-unknown ;; |   165             *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | 
|   166         esac |   166         esac | 
|   167         # The Operating System including object format, if it has switched |   167         # The Operating System including object format, if it has switched | 
|   168         # to ELF recently, or will in the future. |   168         # to ELF recently, or will in the future. | 
|   169         case "${UNAME_MACHINE_ARCH}" in |   169         case "${UNAME_MACHINE_ARCH}" in | 
|   170             arm*|i386|m68k|ns32k|sh3*|sparc|vax) |   170             arm*|i386|m68k|ns32k|sh3*|sparc|vax) | 
|   171                 eval $set_cc_for_build |   171                 eval $set_cc_for_build | 
|   172                 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |   172                 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | 
|   173 »       »       »       | grep __ELF__ >/dev/null |   173 »       »       »       | grep -q __ELF__ | 
|   174                 then |   174                 then | 
|   175                     # Once all utilities can be ECOFF (netbsdecoff) or a.out (ne
      tbsdaout). |   175                     # Once all utilities can be ECOFF (netbsdecoff) or a.out (ne
      tbsdaout). | 
|   176                     # Return netbsd for either.  FIX? |   176                     # Return netbsd for either.  FIX? | 
|   177                     os=netbsd |   177                     os=netbsd | 
|   178                 else |   178                 else | 
|   179                     os=netbsdelf |   179                     os=netbsdelf | 
|   180                 fi |   180                 fi | 
|   181                 ;; |   181                 ;; | 
|   182             *) |   182             *) | 
|   183                 os=netbsd |   183                 os=netbsd | 
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   317     NILE*:*:*:dcosx) |   317     NILE*:*:*:dcosx) | 
|   318         echo pyramid-pyramid-svr4 |   318         echo pyramid-pyramid-svr4 | 
|   319         exit ;; |   319         exit ;; | 
|   320     DRS?6000:unix:4.0:6*) |   320     DRS?6000:unix:4.0:6*) | 
|   321         echo sparc-icl-nx6 |   321         echo sparc-icl-nx6 | 
|   322         exit ;; |   322         exit ;; | 
|   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     s390x:SunOS:*:*) | 
 |   328         echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*
      //'` | 
 |   329         exit ;; | 
|   327     sun4H:SunOS:5.*:*) |   330     sun4H:SunOS:5.*:*) | 
|   328         echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |   331         echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 
|   329         exit ;; |   332         exit ;; | 
|   330     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |   333     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | 
|   331         echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |   334         echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 
|   332         exit ;; |   335         exit ;; | 
|   333     i86pc:SunOS:5.*:* | ix86xen:SunOS:5.*:*) |   336     i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | 
|   334 »       echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |   337 »       echo i386-pc-auroraux${UNAME_RELEASE} | 
 |   338 »       exit ;; | 
 |   339     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | 
 |   340 »       eval $set_cc_for_build | 
 |   341 »       SUN_ARCH="i386" | 
 |   342 »       # If there is a compiler, see if it is configured for 64-bit objects. | 
 |   343 »       # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | 
 |   344 »       # This test works for both compilers. | 
 |   345 »       if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | 
 |   346 »           if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | 
 |   347 »       »       (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | 
 |   348 »       »       grep IS_64BIT_ARCH >/dev/null | 
 |   349 »           then | 
 |   350 »       »       SUN_ARCH="x86_64" | 
 |   351 »           fi | 
 |   352 »       fi | 
 |   353 »       echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 
|   335         exit ;; |   354         exit ;; | 
|   336     sun4*:SunOS:6*:*) |   355     sun4*:SunOS:6*:*) | 
|   337         # According to config.sub, this is the proper way to canonicalize |   356         # According to config.sub, this is the proper way to canonicalize | 
|   338         # SunOS6.  Hard to guess exactly what SunOS6 will be like, but |   357         # SunOS6.  Hard to guess exactly what SunOS6 will be like, but | 
|   339         # it's likely to be more like Solaris than SunOS4. |   358         # it's likely to be more like Solaris than SunOS4. | 
|   340         echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |   359         echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 
|   341         exit ;; |   360         exit ;; | 
|   342     sun4*:SunOS:*:*) |   361     sun4*:SunOS:*:*) | 
|   343         case "`/usr/bin/arch -k`" in |   362         case "`/usr/bin/arch -k`" in | 
|   344             Series*|S4*) |   363             Series*|S4*) | 
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   525                         echo "$SYSTEM_NAME" |   544                         echo "$SYSTEM_NAME" | 
|   526                 else |   545                 else | 
|   527                         echo rs6000-ibm-aix3.2.5 |   546                         echo rs6000-ibm-aix3.2.5 | 
|   528                 fi |   547                 fi | 
|   529         elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then |   548         elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then | 
|   530                 echo rs6000-ibm-aix3.2.4 |   549                 echo rs6000-ibm-aix3.2.4 | 
|   531         else |   550         else | 
|   532                 echo rs6000-ibm-aix3.2 |   551                 echo rs6000-ibm-aix3.2 | 
|   533         fi |   552         fi | 
|   534         exit ;; |   553         exit ;; | 
|   535     *:AIX:*:[45]) |   554     *:AIX:*:[456]) | 
|   536         IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk 
      '{ print $1 }'` |   555         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 |   556         if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; t
      hen | 
|   538                 IBM_ARCH=rs6000 |   557                 IBM_ARCH=rs6000 | 
|   539         else |   558         else | 
|   540                 IBM_ARCH=powerpc |   559                 IBM_ARCH=powerpc | 
|   541         fi |   560         fi | 
|   542         if [ -x /usr/bin/oslevel ] ; then |   561         if [ -x /usr/bin/oslevel ] ; then | 
|   543                 IBM_REV=`/usr/bin/oslevel` |   562                 IBM_REV=`/usr/bin/oslevel` | 
|   544         else |   563         else | 
|   545                 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |   564                 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   633             # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |   652             # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating | 
|   634             # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler |   653             # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler | 
|   635             # generating 64-bit code.  GNU and HP use different nomenclature: |   654             # generating 64-bit code.  GNU and HP use different nomenclature: | 
|   636             # |   655             # | 
|   637             # $ CC_FOR_BUILD=cc ./config.guess |   656             # $ CC_FOR_BUILD=cc ./config.guess | 
|   638             # => hppa2.0w-hp-hpux11.23 |   657             # => hppa2.0w-hp-hpux11.23 | 
|   639             # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |   658             # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess | 
|   640             # => hppa64-hp-hpux11.23 |   659             # => hppa64-hp-hpux11.23 | 
|   641  |   660  | 
|   642             if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |   661             if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | 
|   643 »       »       grep __LP64__ >/dev/null |   662 »       »       grep -q __LP64__ | 
|   644             then |   663             then | 
|   645                 HP_ARCH="hppa2.0w" |   664                 HP_ARCH="hppa2.0w" | 
|   646             else |   665             else | 
|   647                 HP_ARCH="hppa64" |   666                 HP_ARCH="hppa64" | 
|   648             fi |   667             fi | 
|   649         fi |   668         fi | 
|   650         echo ${HP_ARCH}-hp-hpux${HPUX_REV} |   669         echo ${HP_ARCH}-hp-hpux${HPUX_REV} | 
|   651         exit ;; |   670         exit ;; | 
|   652     ia64:HP-UX:*:*) |   671     ia64:HP-UX:*:*) | 
|   653         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |   672         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | 
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   784     *:MINGW*:*) |   803     *:MINGW*:*) | 
|   785         echo ${UNAME_MACHINE}-pc-mingw32 |   804         echo ${UNAME_MACHINE}-pc-mingw32 | 
|   786         exit ;; |   805         exit ;; | 
|   787     i*:windows32*:*) |   806     i*:windows32*:*) | 
|   788         # uname -m includes "-pc" on this system. |   807         # uname -m includes "-pc" on this system. | 
|   789         echo ${UNAME_MACHINE}-mingw32 |   808         echo ${UNAME_MACHINE}-mingw32 | 
|   790         exit ;; |   809         exit ;; | 
|   791     i*:PW*:*) |   810     i*:PW*:*) | 
|   792         echo ${UNAME_MACHINE}-pc-pw32 |   811         echo ${UNAME_MACHINE}-pc-pw32 | 
|   793         exit ;; |   812         exit ;; | 
|   794     *:Interix*:[3456]*) |   813     *:Interix*:*) | 
|   795         case ${UNAME_MACHINE} in |   814         case ${UNAME_MACHINE} in | 
|   796 »           x86)  |   815 »           x86) | 
|   797                 echo i586-pc-interix${UNAME_RELEASE} |   816                 echo i586-pc-interix${UNAME_RELEASE} | 
|   798                 exit ;; |   817                 exit ;; | 
|   799 »           EM64T | authenticamd) |   818 »           authenticamd | genuineintel | EM64T) | 
|   800                 echo x86_64-unknown-interix${UNAME_RELEASE} |   819                 echo x86_64-unknown-interix${UNAME_RELEASE} | 
|   801                 exit ;; |   820                 exit ;; | 
 |   821             IA64) | 
 |   822                 echo ia64-unknown-interix${UNAME_RELEASE} | 
 |   823                 exit ;; | 
|   802         esac ;; |   824         esac ;; | 
|   803     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |   825     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | 
|   804         echo i${UNAME_MACHINE}-pc-mks |   826         echo i${UNAME_MACHINE}-pc-mks | 
|   805         exit ;; |   827         exit ;; | 
 |   828     8664:Windows_NT:*) | 
 |   829         echo x86_64-pc-mks | 
 |   830         exit ;; | 
|   806     i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |   831     i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | 
|   807         # How do we know it's Interix rather than the generic POSIX subsystem? |   832         # 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 |   833         # 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? |   834         # UNAME_MACHINE based on the output of uname instead of i386? | 
|   810         echo i586-pc-interix |   835         echo i586-pc-interix | 
|   811         exit ;; |   836         exit ;; | 
|   812     i*:UWIN*:*) |   837     i*:UWIN*:*) | 
|   813         echo ${UNAME_MACHINE}-pc-uwin |   838         echo ${UNAME_MACHINE}-pc-uwin | 
|   814         exit ;; |   839         exit ;; | 
|   815     amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |   840     amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) | 
|   816         echo x86_64-unknown-cygwin |   841         echo x86_64-unknown-cygwin | 
|   817         exit ;; |   842         exit ;; | 
|   818     p*:CYGWIN*:*) |   843     p*:CYGWIN*:*) | 
|   819         echo powerpcle-unknown-cygwin |   844         echo powerpcle-unknown-cygwin | 
|   820         exit ;; |   845         exit ;; | 
|   821     prep*:SunOS:5.*:*) |   846     prep*:SunOS:5.*:*) | 
|   822         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'
      ` |   847         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'
      ` | 
|   823         exit ;; |   848         exit ;; | 
|   824     *:GNU:*:*) |   849     *:GNU:*:*) | 
|   825         # the GNU system |   850         # the GNU system | 
|   826         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNA
      ME_RELEASE}|sed -e 's,/.*$,,'` |   851         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNA
      ME_RELEASE}|sed -e 's,/.*$,,'` | 
|   827         exit ;; |   852         exit ;; | 
|   828     *:GNU/*:*:*) |   853     *:GNU/*:*:*) | 
|   829         # other systems with GNU libc and userland |   854         # 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 |   855         echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' 
      | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | 
|   831         exit ;; |   856         exit ;; | 
|   832     i*86:Minix:*:*) |   857     i*86:Minix:*:*) | 
|   833         echo ${UNAME_MACHINE}-pc-minix |   858         echo ${UNAME_MACHINE}-pc-minix | 
|   834         exit ;; |   859         exit ;; | 
 |   860     alpha:Linux:*:*) | 
 |   861         case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | 
 |   862           EV5)   UNAME_MACHINE=alphaev5 ;; | 
 |   863           EV56)  UNAME_MACHINE=alphaev56 ;; | 
 |   864           PCA56) UNAME_MACHINE=alphapca56 ;; | 
 |   865           PCA57) UNAME_MACHINE=alphapca56 ;; | 
 |   866           EV6)   UNAME_MACHINE=alphaev6 ;; | 
 |   867           EV67)  UNAME_MACHINE=alphaev67 ;; | 
 |   868           EV68*) UNAME_MACHINE=alphaev68 ;; | 
 |   869         esac | 
 |   870         objdump --private-headers /bin/sh | grep -q ld.so.1 | 
 |   871         if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | 
 |   872         echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | 
 |   873         exit ;; | 
|   835     arm*:Linux:*:*) |   874     arm*:Linux:*:*) | 
|   836 »       echo ${UNAME_MACHINE}-unknown-linux-gnu |   875 »       eval $set_cc_for_build | 
 |   876 »       if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | 
 |   877 »           | grep -q __ARM_EABI__ | 
 |   878 »       then | 
 |   879 »           echo ${UNAME_MACHINE}-unknown-linux-gnu | 
 |   880 »       else | 
 |   881 »           echo ${UNAME_MACHINE}-unknown-linux-gnueabi | 
 |   882 »       fi | 
|   837         exit ;; |   883         exit ;; | 
|   838     avr32*:Linux:*:*) |   884     avr32*:Linux:*:*) | 
|   839         echo ${UNAME_MACHINE}-unknown-linux-gnu |   885         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   840         exit ;; |   886         exit ;; | 
|   841     cris:Linux:*:*) |   887     cris:Linux:*:*) | 
|   842         echo cris-axis-linux-gnu |   888         echo cris-axis-linux-gnu | 
|   843         exit ;; |   889         exit ;; | 
|   844     crisv32:Linux:*:*) |   890     crisv32:Linux:*:*) | 
|   845         echo crisv32-axis-linux-gnu |   891         echo crisv32-axis-linux-gnu | 
|   846         exit ;; |   892         exit ;; | 
|   847     frv:Linux:*:*) |   893     frv:Linux:*:*) | 
|   848         echo frv-unknown-linux-gnu |   894         echo frv-unknown-linux-gnu | 
|   849         exit ;; |   895         exit ;; | 
 |   896     i*86:Linux:*:*) | 
 |   897         LIBC=gnu | 
 |   898         eval $set_cc_for_build | 
 |   899         sed 's/^        //' << EOF >$dummy.c | 
 |   900         #ifdef __dietlibc__ | 
 |   901         LIBC=dietlibc | 
 |   902         #endif | 
 |   903 EOF | 
 |   904         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | 
 |   905         echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | 
 |   906         exit ;; | 
|   850     ia64:Linux:*:*) |   907     ia64:Linux:*:*) | 
|   851         echo ${UNAME_MACHINE}-unknown-linux-gnu |   908         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   852         exit ;; |   909         exit ;; | 
|   853     m32r*:Linux:*:*) |   910     m32r*:Linux:*:*) | 
|   854         echo ${UNAME_MACHINE}-unknown-linux-gnu |   911         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   855         exit ;; |   912         exit ;; | 
|   856     m68*:Linux:*:*) |   913     m68*:Linux:*:*) | 
|   857         echo ${UNAME_MACHINE}-unknown-linux-gnu |   914         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   858         exit ;; |   915         exit ;; | 
|   859     mips:Linux:*:*) |   916     mips:Linux:*:* | mips64:Linux:*:*) | 
|   860         eval $set_cc_for_build |   917         eval $set_cc_for_build | 
|   861         sed 's/^        //' << EOF >$dummy.c |   918         sed 's/^        //' << EOF >$dummy.c | 
|   862         #undef CPU |   919         #undef CPU | 
|   863 »       #undef mips |   920 »       #undef ${UNAME_MACHINE} | 
|   864 »       #undef mipsel |   921 »       #undef ${UNAME_MACHINE}el | 
|   865         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defi
      ned(MIPSEL) |   922         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defi
      ned(MIPSEL) | 
|   866 »       CPU=mipsel |   923 »       CPU=${UNAME_MACHINE}el | 
|   867         #else |   924         #else | 
|   868         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defi
      ned(MIPSEB) |   925         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defi
      ned(MIPSEB) | 
|   869 »       CPU=mips |   926 »       CPU=${UNAME_MACHINE} | 
|   870         #else |   927         #else | 
|   871         CPU= |   928         CPU= | 
|   872         #endif |   929         #endif | 
|   873         #endif |   930         #endif | 
|   874 EOF |   931 EOF | 
|   875 »       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |   932 »       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | 
|   876 »           /^CPU/{ |  | 
|   877 »       »       s: ::g |  | 
|   878 »       »       p |  | 
|   879 »           }'`" |  | 
|   880 »       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |  | 
|   881 »       ;; |  | 
|   882     mips64:Linux:*:*) |  | 
|   883 »       eval $set_cc_for_build |  | 
|   884 »       sed 's/^»       //' << EOF >$dummy.c |  | 
|   885 »       #undef CPU |  | 
|   886 »       #undef mips64 |  | 
|   887 »       #undef mips64el |  | 
|   888 »       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defi
      ned(MIPSEL) |  | 
|   889 »       CPU=mips64el |  | 
|   890 »       #else |  | 
|   891 »       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defi
      ned(MIPSEB) |  | 
|   892 »       CPU=mips64 |  | 
|   893 »       #else |  | 
|   894 »       CPU= |  | 
|   895 »       #endif |  | 
|   896 »       #endif |  | 
|   897 EOF |  | 
|   898 »       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |  | 
|   899 »           /^CPU/{ |  | 
|   900 »       »       s: ::g |  | 
|   901 »       »       p |  | 
|   902 »           }'`" |  | 
|   903         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |   933         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | 
|   904         ;; |   934         ;; | 
|   905     or32:Linux:*:*) |   935     or32:Linux:*:*) | 
|   906         echo or32-unknown-linux-gnu |   936         echo or32-unknown-linux-gnu | 
|   907         exit ;; |   937         exit ;; | 
|   908     ppc:Linux:*:*) |   938     padre:Linux:*:*) | 
|   909 »       echo powerpc-unknown-linux-gnu |   939 »       echo sparc-unknown-linux-gnu | 
|   910         exit ;; |   940         exit ;; | 
|   911     ppc64:Linux:*:*) |   941     parisc64:Linux:*:* | hppa64:Linux:*:*) | 
|   912 »       echo powerpc64-unknown-linux-gnu |   942 »       echo hppa64-unknown-linux-gnu | 
|   913 »       exit ;; |  | 
|   914     alpha:Linux:*:*) |  | 
|   915 »       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |  | 
|   916 »         EV5)   UNAME_MACHINE=alphaev5 ;; |  | 
|   917 »         EV56)  UNAME_MACHINE=alphaev56 ;; |  | 
|   918 »         PCA56) UNAME_MACHINE=alphapca56 ;; |  | 
|   919 »         PCA57) UNAME_MACHINE=alphapca56 ;; |  | 
|   920 »         EV6)   UNAME_MACHINE=alphaev6 ;; |  | 
|   921 »         EV67)  UNAME_MACHINE=alphaev67 ;; |  | 
|   922 »         EV68*) UNAME_MACHINE=alphaev68 ;; |  | 
|   923         esac |  | 
|   924 »       objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null |  | 
|   925 »       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |  | 
|   926 »       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |  | 
|   927         exit ;; |   943         exit ;; | 
|   928     parisc:Linux:*:* | hppa:Linux:*:*) |   944     parisc:Linux:*:* | hppa:Linux:*:*) | 
|   929         # Look for CPU level |   945         # Look for CPU level | 
|   930         case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |   946         case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | 
|   931           PA7*) echo hppa1.1-unknown-linux-gnu ;; |   947           PA7*) echo hppa1.1-unknown-linux-gnu ;; | 
|   932           PA8*) echo hppa2.0-unknown-linux-gnu ;; |   948           PA8*) echo hppa2.0-unknown-linux-gnu ;; | 
|   933           *)    echo hppa-unknown-linux-gnu ;; |   949           *)    echo hppa-unknown-linux-gnu ;; | 
|   934         esac |   950         esac | 
|   935         exit ;; |   951         exit ;; | 
|   936     parisc64:Linux:*:* | hppa64:Linux:*:*) |   952     ppc64:Linux:*:*) | 
|   937 »       echo hppa64-unknown-linux-gnu |   953 »       echo powerpc64-unknown-linux-gnu | 
 |   954 »       exit ;; | 
 |   955     ppc:Linux:*:*) | 
 |   956 »       echo powerpc-unknown-linux-gnu | 
|   938         exit ;; |   957         exit ;; | 
|   939     s390:Linux:*:* | s390x:Linux:*:*) |   958     s390:Linux:*:* | s390x:Linux:*:*) | 
|   940         echo ${UNAME_MACHINE}-ibm-linux |   959         echo ${UNAME_MACHINE}-ibm-linux | 
|   941         exit ;; |   960         exit ;; | 
|   942     sh64*:Linux:*:*) |   961     sh64*:Linux:*:*) | 
|   943         echo ${UNAME_MACHINE}-unknown-linux-gnu |   962         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   944         exit ;; |   963         exit ;; | 
|   945     sh*:Linux:*:*) |   964     sh*:Linux:*:*) | 
|   946         echo ${UNAME_MACHINE}-unknown-linux-gnu |   965         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   947         exit ;; |   966         exit ;; | 
|   948     sparc:Linux:*:* | sparc64:Linux:*:*) |   967     sparc:Linux:*:* | sparc64:Linux:*:*) | 
|   949         echo ${UNAME_MACHINE}-unknown-linux-gnu |   968         echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   950         exit ;; |   969         exit ;; | 
|   951     vax:Linux:*:*) |   970     vax:Linux:*:*) | 
|   952         echo ${UNAME_MACHINE}-dec-linux-gnu |   971         echo ${UNAME_MACHINE}-dec-linux-gnu | 
|   953         exit ;; |   972         exit ;; | 
|   954     x86_64:Linux:*:*) |   973     x86_64:Linux:*:*) | 
|   955         echo x86_64-unknown-linux-gnu |   974         echo x86_64-unknown-linux-gnu | 
|   956         exit ;; |   975         exit ;; | 
|   957     xtensa:Linux:*:*) |   976     xtensa*:Linux:*:*) | 
|   958     »   echo xtensa-unknown-linux-gnu |   977     »   echo ${UNAME_MACHINE}-unknown-linux-gnu | 
|   959         exit ;; |   978         exit ;; | 
|   960     i*86:Linux:*:*) |  | 
|   961         # 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 |  | 
|   963         # problems with other programs or directories called `ld' in the path. |  | 
|   964         # Set LC_ALL=C to ensure ld outputs messages in English. |  | 
|   965         ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ |  | 
|   966                          | sed -ne '/supported targets:/!d |  | 
|   967                                     s/[         ][      ]*/ /g |  | 
|   968                                     s/.*supported targets: *// |  | 
|   969                                     s/ .*// |  | 
|   970                                     p'` |  | 
|   971         case "$ld_supported_targets" in |  | 
|   972           elf32-i386) |  | 
|   973                 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" |  | 
|   974                 ;; |  | 
|   975           a.out-i386-linux) |  | 
|   976                 echo "${UNAME_MACHINE}-pc-linux-gnuaout" |  | 
|   977                 exit ;; |  | 
|   978           coff-i386) |  | 
|   979                 echo "${UNAME_MACHINE}-pc-linux-gnucoff" |  | 
|   980                 exit ;; |  | 
|   981           "") |  | 
|   982                 # Either a pre-BFD a.out linker (linux-gnuoldld) or |  | 
|   983                 # one that does not give us useful --help. |  | 
|   984                 echo "${UNAME_MACHINE}-pc-linux-gnuoldld" |  | 
|   985                 exit ;; |  | 
|   986         esac |  | 
|   987         # Determine whether the default compiler is a.out or elf |  | 
|   988         eval $set_cc_for_build |  | 
|   989         sed 's/^        //' << EOF >$dummy.c |  | 
|   990         #include <features.h> |  | 
|   991         #ifdef __ELF__ |  | 
|   992         # ifdef __GLIBC__ |  | 
|   993         #  if __GLIBC__ >= 2 |  | 
|   994         LIBC=gnu |  | 
|   995         #  else |  | 
|   996         LIBC=gnulibc1 |  | 
|   997         #  endif |  | 
|   998         # else |  | 
|   999         LIBC=gnulibc1 |  | 
|  1000         # endif |  | 
|  1001         #else |  | 
|  1002         #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) |
      | defined(__SUNPRO_CC) |  | 
|  1003         LIBC=gnu |  | 
|  1004         #else |  | 
|  1005         LIBC=gnuaout |  | 
|  1006         #endif |  | 
|  1007         #endif |  | 
|  1008         #ifdef __dietlibc__ |  | 
|  1009         LIBC=dietlibc |  | 
|  1010         #endif |  | 
|  1011 EOF |  | 
|  1012         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |  | 
|  1013             /^LIBC/{ |  | 
|  1014                 s: ::g |  | 
|  1015                 p |  | 
|  1016             }'`" |  | 
|  1017         test x"${LIBC}" != x && { |  | 
|  1018                 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |  | 
|  1019                 exit |  | 
|  1020         } |  | 
|  1021         test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } |  | 
|  1022         ;; |  | 
|  1023     i*86:DYNIX/ptx:4*:*) |   979     i*86:DYNIX/ptx:4*:*) | 
|  1024         # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |   980         # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. | 
|  1025         # earlier versions are messed up and put the nodename in both |   981         # earlier versions are messed up and put the nodename in both | 
|  1026         # sysname and nodename. |   982         # sysname and nodename. | 
|  1027         echo i386-sequent-sysv4 |   983         echo i386-sequent-sysv4 | 
|  1028         exit ;; |   984         exit ;; | 
|  1029     i*86:UNIX_SV:4.2MP:2.*) |   985     i*86:UNIX_SV:4.2MP:2.*) | 
|  1030         # Unixware is an offshoot of SVR4, but it has its own version |   986         # Unixware is an offshoot of SVR4, but it has its own version | 
|  1031         # number series starting with 2... |   987         # number series starting with 2... | 
|  1032         # I am not positive that other SVR4 systems won't match this, |   988         # I am not positive that other SVR4 systems won't match this, | 
|  1033         # I just have to hope.  -- rms. |   989         # I just have to hope.  -- rms. | 
|  1034         # Use sysv4.2uw... so that sysv4* matches it. |   990         # Use sysv4.2uw... so that sysv4* matches it. | 
|  1035         echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |   991         echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | 
|  1036         exit ;; |   992         exit ;; | 
|  1037     i*86:OS/2:*:*) |   993     i*86:OS/2:*:*) | 
|  1038         # If we were able to find `uname', then EMX Unix compatibility |   994         # If we were able to find `uname', then EMX Unix compatibility | 
|  1039         # is probably installed. |   995         # is probably installed. | 
|  1040         echo ${UNAME_MACHINE}-pc-os2-emx |   996         echo ${UNAME_MACHINE}-pc-os2-emx | 
|  1041         exit ;; |   997         exit ;; | 
|  1042     i*86:XTS-300:*:STOP) |   998     i*86:XTS-300:*:STOP) | 
|  1043         echo ${UNAME_MACHINE}-unknown-stop |   999         echo ${UNAME_MACHINE}-unknown-stop | 
|  1044         exit ;; |  1000         exit ;; | 
|  1045     i*86:atheos:*:*) |  1001     i*86:atheos:*:*) | 
|  1046         echo ${UNAME_MACHINE}-unknown-atheos |  1002         echo ${UNAME_MACHINE}-unknown-atheos | 
|  1047         exit ;; |  1003         exit ;; | 
|  1048     i*86:syllable:*:*) |  1004     i*86:syllable:*:*) | 
|  1049         echo ${UNAME_MACHINE}-pc-syllable |  1005         echo ${UNAME_MACHINE}-pc-syllable | 
|  1050         exit ;; |  1006         exit ;; | 
|  1051     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) |  1007     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) | 
|  1052         echo i386-unknown-lynxos${UNAME_RELEASE} |  1008         echo i386-unknown-lynxos${UNAME_RELEASE} | 
|  1053         exit ;; |  1009         exit ;; | 
|  1054     i*86:*DOS:*:*) |  1010     i*86:*DOS:*:*) | 
|  1055         echo ${UNAME_MACHINE}-pc-msdosdjgpp |  1011         echo ${UNAME_MACHINE}-pc-msdosdjgpp | 
|  1056         exit ;; |  1012         exit ;; | 
|  1057     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) |  1013     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | 
|  1058         UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` |  1014         UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | 
|  1059         if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |  1015         if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then | 
|  1060                 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} |  1016                 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | 
|  1061         else |  1017         else | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
|  1085                 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |  1041                 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ | 
|  1086                         && UNAME_MACHINE=i686 |  1042                         && UNAME_MACHINE=i686 | 
|  1087                 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL |  1043                 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | 
|  1088         else |  1044         else | 
|  1089                 echo ${UNAME_MACHINE}-pc-sysv32 |  1045                 echo ${UNAME_MACHINE}-pc-sysv32 | 
|  1090         fi |  1046         fi | 
|  1091         exit ;; |  1047         exit ;; | 
|  1092     pc:*:*:*) |  1048     pc:*:*:*) | 
|  1093         # Left here for compatibility: |  1049         # Left here for compatibility: | 
|  1094         # uname -m prints for DJGPP always 'pc', but it prints nothing about |  1050         # uname -m prints for DJGPP always 'pc', but it prints nothing about | 
|  1095         # the processor, so we play safe by assuming i386. |  1051         # the processor, so we play safe by assuming i586. | 
|  1096 »       echo i386-pc-msdosdjgpp |  1052 »       # Note: whatever this is, it MUST be the same as what config.sub | 
 |  1053 »       # prints for the "djgpp" host, or else GDB configury will decide that | 
 |  1054 »       # this is a cross-build. | 
 |  1055 »       echo i586-pc-msdosdjgpp | 
|  1097         exit ;; |  1056         exit ;; | 
|  1098     Intel:Mach:3*:*) |  1057     Intel:Mach:3*:*) | 
|  1099         echo i386-pc-mach3 |  1058         echo i386-pc-mach3 | 
|  1100         exit ;; |  1059         exit ;; | 
|  1101     paragon:*:*:*) |  1060     paragon:*:*:*) | 
|  1102         echo i860-intel-osf1 |  1061         echo i860-intel-osf1 | 
|  1103         exit ;; |  1062         exit ;; | 
|  1104     i860:*:4.*:*) # i860-SVR4 |  1063     i860:*:4.*:*) # i860-SVR4 | 
|  1105         if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |  1064         if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then | 
|  1106           echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 |  1065           echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
|  1124         OS_REL='' |  1083         OS_REL='' | 
|  1125         test -r /etc/.relid \ |  1084         test -r /etc/.relid \ | 
|  1126         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |  1085         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | 
|  1127         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |  1086         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | 
|  1128           && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |  1087           && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | 
|  1129         /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |  1088         /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | 
|  1130           && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |  1089           && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | 
|  1131     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |  1090     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | 
|  1132         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |  1091         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | 
|  1133           && { echo i486-ncr-sysv4; exit; } ;; |  1092           && { echo i486-ncr-sysv4; exit; } ;; | 
 |  1093     NCR*:*:4.2:* | MPRAS*:*:4.2:*) | 
 |  1094         OS_REL='.3' | 
 |  1095         test -r /etc/.relid \ | 
 |  1096             && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.rel
      id` | 
 |  1097         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | 
 |  1098             && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | 
 |  1099         /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | 
 |  1100             && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | 
 |  1101         /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | 
 |  1102             && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | 
|  1134     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |  1103     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) | 
|  1135         echo m68k-unknown-lynxos${UNAME_RELEASE} |  1104         echo m68k-unknown-lynxos${UNAME_RELEASE} | 
|  1136         exit ;; |  1105         exit ;; | 
|  1137     mc68030:UNIX_System_V:4.*:*) |  1106     mc68030:UNIX_System_V:4.*:*) | 
|  1138         echo m68k-atari-sysv4 |  1107         echo m68k-atari-sysv4 | 
|  1139         exit ;; |  1108         exit ;; | 
|  1140     TSUNAMI:LynxOS:2.*:*) |  1109     TSUNAMI:LynxOS:2.*:*) | 
|  1141         echo sparc-unknown-lynxos${UNAME_RELEASE} |  1110         echo sparc-unknown-lynxos${UNAME_RELEASE} | 
|  1142         exit ;; |  1111         exit ;; | 
|  1143     rs6000:LynxOS:2.*:*) |  1112     rs6000:LynxOS:2.*:*) | 
|  1144         echo rs6000-unknown-lynxos${UNAME_RELEASE} |  1113         echo rs6000-unknown-lynxos${UNAME_RELEASE} | 
|  1145         exit ;; |  1114         exit ;; | 
|  1146     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) |  1115     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) | 
|  1147         echo powerpc-unknown-lynxos${UNAME_RELEASE} |  1116         echo powerpc-unknown-lynxos${UNAME_RELEASE} | 
|  1148         exit ;; |  1117         exit ;; | 
|  1149     SM[BE]S:UNIX_SV:*:*) |  1118     SM[BE]S:UNIX_SV:*:*) | 
|  1150         echo mips-dde-sysv${UNAME_RELEASE} |  1119         echo mips-dde-sysv${UNAME_RELEASE} | 
|  1151         exit ;; |  1120         exit ;; | 
|  1152     RM*:ReliantUNIX-*:*:*) |  1121     RM*:ReliantUNIX-*:*:*) | 
|  1153         echo mips-sni-sysv4 |  1122         echo mips-sni-sysv4 | 
|  1154         exit ;; |  1123         exit ;; | 
|  1155     RM*:SINIX-*:*:*) |  1124     RM*:SINIX-*:*:*) | 
|  1156         echo mips-sni-sysv4 |  1125         echo mips-sni-sysv4 | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1199         exit ;; |  1168         exit ;; | 
|  1200     BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only. |  1169     BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only. | 
|  1201         echo powerpc-be-beos |  1170         echo powerpc-be-beos | 
|  1202         exit ;; |  1171         exit ;; | 
|  1203     BeMac:BeOS:*:*)     # BeOS running on Mac or Mac clone, PPC only. |  1172     BeMac:BeOS:*:*)     # BeOS running on Mac or Mac clone, PPC only. | 
|  1204         echo powerpc-apple-beos |  1173         echo powerpc-apple-beos | 
|  1205         exit ;; |  1174         exit ;; | 
|  1206     BePC:BeOS:*:*)      # BeOS running on Intel PC compatible. |  1175     BePC:BeOS:*:*)      # BeOS running on Intel PC compatible. | 
|  1207         echo i586-pc-beos |  1176         echo i586-pc-beos | 
|  1208         exit ;; |  1177         exit ;; | 
 |  1178     BePC:Haiku:*:*)     # Haiku running on Intel PC compatible. | 
 |  1179         echo i586-pc-haiku | 
 |  1180         exit ;; | 
|  1209     SX-4:SUPER-UX:*:*) |  1181     SX-4:SUPER-UX:*:*) | 
|  1210         echo sx4-nec-superux${UNAME_RELEASE} |  1182         echo sx4-nec-superux${UNAME_RELEASE} | 
|  1211         exit ;; |  1183         exit ;; | 
|  1212     SX-5:SUPER-UX:*:*) |  1184     SX-5:SUPER-UX:*:*) | 
|  1213         echo sx5-nec-superux${UNAME_RELEASE} |  1185         echo sx5-nec-superux${UNAME_RELEASE} | 
|  1214         exit ;; |  1186         exit ;; | 
|  1215     SX-6:SUPER-UX:*:*) |  1187     SX-6:SUPER-UX:*:*) | 
|  1216         echo sx6-nec-superux${UNAME_RELEASE} |  1188         echo sx6-nec-superux${UNAME_RELEASE} | 
|  1217         exit ;; |  1189         exit ;; | 
|  1218     SX-7:SUPER-UX:*:*) |  1190     SX-7:SUPER-UX:*:*) | 
|  1219         echo sx7-nec-superux${UNAME_RELEASE} |  1191         echo sx7-nec-superux${UNAME_RELEASE} | 
|  1220         exit ;; |  1192         exit ;; | 
|  1221     SX-8:SUPER-UX:*:*) |  1193     SX-8:SUPER-UX:*:*) | 
|  1222         echo sx8-nec-superux${UNAME_RELEASE} |  1194         echo sx8-nec-superux${UNAME_RELEASE} | 
|  1223         exit ;; |  1195         exit ;; | 
|  1224     SX-8R:SUPER-UX:*:*) |  1196     SX-8R:SUPER-UX:*:*) | 
|  1225         echo sx8r-nec-superux${UNAME_RELEASE} |  1197         echo sx8r-nec-superux${UNAME_RELEASE} | 
|  1226         exit ;; |  1198         exit ;; | 
|  1227     Power*:Rhapsody:*:*) |  1199     Power*:Rhapsody:*:*) | 
|  1228         echo powerpc-apple-rhapsody${UNAME_RELEASE} |  1200         echo powerpc-apple-rhapsody${UNAME_RELEASE} | 
|  1229         exit ;; |  1201         exit ;; | 
|  1230     *:Rhapsody:*:*) |  1202     *:Rhapsody:*:*) | 
|  1231         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} |  1203         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | 
|  1232         exit ;; |  1204         exit ;; | 
|  1233     *:Darwin:*:*) |  1205     *:Darwin:*:*) | 
|  1234         UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |  1206         UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | 
|  1235         case $UNAME_PROCESSOR in |  1207         case $UNAME_PROCESSOR in | 
 |  1208             i386) | 
 |  1209                 eval $set_cc_for_build | 
 |  1210                 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | 
 |  1211                   if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif')
       | \ | 
 |  1212                       (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | 
 |  1213                       grep IS_64BIT_ARCH >/dev/null | 
 |  1214                   then | 
 |  1215                       UNAME_PROCESSOR="x86_64" | 
 |  1216                   fi | 
 |  1217                 fi ;; | 
|  1236             unknown) UNAME_PROCESSOR=powerpc ;; |  1218             unknown) UNAME_PROCESSOR=powerpc ;; | 
|  1237         esac |  1219         esac | 
|  1238         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |  1220         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | 
|  1239         exit ;; |  1221         exit ;; | 
|  1240     *:procnto*:*:* | *:QNX:[0123456789]*:*) |  1222     *:procnto*:*:* | *:QNX:[0123456789]*:*) | 
|  1241         UNAME_PROCESSOR=`uname -p` |  1223         UNAME_PROCESSOR=`uname -p` | 
|  1242         if test "$UNAME_PROCESSOR" = "x86"; then |  1224         if test "$UNAME_PROCESSOR" = "x86"; then | 
|  1243                 UNAME_PROCESSOR=i386 |  1225                 UNAME_PROCESSOR=i386 | 
|  1244                 UNAME_MACHINE=pc |  1226                 UNAME_MACHINE=pc | 
|  1245         fi |  1227         fi | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1307         esac ;; |  1289         esac ;; | 
|  1308     *:XENIX:*:SysV) |  1290     *:XENIX:*:SysV) | 
|  1309         echo i386-pc-xenix |  1291         echo i386-pc-xenix | 
|  1310         exit ;; |  1292         exit ;; | 
|  1311     i*86:skyos:*:*) |  1293     i*86:skyos:*:*) | 
|  1312         echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//
      ' |  1294         echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//
      ' | 
|  1313         exit ;; |  1295         exit ;; | 
|  1314     i*86:rdos:*:*) |  1296     i*86:rdos:*:*) | 
|  1315         echo ${UNAME_MACHINE}-pc-rdos |  1297         echo ${UNAME_MACHINE}-pc-rdos | 
|  1316         exit ;; |  1298         exit ;; | 
 |  1299     i*86:AROS:*:*) | 
 |  1300         echo ${UNAME_MACHINE}-pc-aros | 
 |  1301         exit ;; | 
|  1317 esac |  1302 esac | 
|  1318  |  1303  | 
|  1319 #echo '(No uname command or uname output not recognized.)' 1>&2 |  1304 #echo '(No uname command or uname output not recognized.)' 1>&2 | 
|  1320 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 |  1305 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | 
|  1321  |  1306  | 
|  1322 eval $set_cc_for_build |  1307 eval $set_cc_for_build | 
|  1323 cat >$dummy.c <<EOF |  1308 cat >$dummy.c <<EOF | 
|  1324 #ifdef _SEQUENT_ |  1309 #ifdef _SEQUENT_ | 
|  1325 # include <sys/types.h> |  1310 # include <sys/types.h> | 
|  1326 # include <sys/utsname.h> |  1311 # include <sys/utsname.h> | 
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1467     esac |  1452     esac | 
|  1468 fi |  1453 fi | 
|  1469  |  1454  | 
|  1470 cat >&2 <<EOF |  1455 cat >&2 <<EOF | 
|  1471 $0: unable to guess system type |  1456 $0: unable to guess system type | 
|  1472  |  1457  | 
|  1473 This script, last modified $timestamp, has failed to recognize |  1458 This script, last modified $timestamp, has failed to recognize | 
|  1474 the operating system you are using. It is advised that you |  1459 the operating system you are using. It is advised that you | 
|  1475 download the most up to date version of the config scripts from |  1460 download the most up to date version of the config scripts from | 
|  1476  |  1461  | 
|  1477   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess |  1462   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;h
      b=HEAD | 
|  1478 and |  1463 and | 
|  1479   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub |  1464   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=
      HEAD | 
|  1480  |  1465  | 
|  1481 If the version you run ($0) is already up to date, please |  1466 If the version you run ($0) is already up to date, please | 
|  1482 send the following data and any information you think might be |  1467 send the following data and any information you think might be | 
|  1483 pertinent to <config-patches@gnu.org> in order to provide the needed |  1468 pertinent to <config-patches@gnu.org> in order to provide the needed | 
|  1484 information to handle your system. |  1469 information to handle your system. | 
|  1485  |  1470  | 
|  1486 config.guess timestamp = $timestamp |  1471 config.guess timestamp = $timestamp | 
|  1487  |  1472  | 
|  1488 uname -m = `(uname -m) 2>/dev/null || echo unknown` |  1473 uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|  1489 uname -r = `(uname -r) 2>/dev/null || echo unknown` |  1474 uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
|  1507 EOF |  1492 EOF | 
|  1508  |  1493  | 
|  1509 exit 1 |  1494 exit 1 | 
|  1510  |  1495  | 
|  1511 # Local variables: |  1496 # Local variables: | 
|  1512 # eval: (add-hook 'write-file-hooks 'time-stamp) |  1497 # eval: (add-hook 'write-file-hooks 'time-stamp) | 
|  1513 # time-stamp-start: "timestamp='" |  1498 # time-stamp-start: "timestamp='" | 
|  1514 # time-stamp-format: "%:y-%02m-%02d" |  1499 # time-stamp-format: "%:y-%02m-%02d" | 
|  1515 # time-stamp-end: "'" |  1500 # time-stamp-end: "'" | 
|  1516 # End: |  1501 # End: | 
| OLD | NEW |