Diff for /XML/config.guess between versions 1.1 and 1.2

version 1.1, 1999/11/24 17:57:48 version 1.2, 2000/10/11 17:36:46
Line 24 Line 24
   
 # Written by Per Bothner <bothner@cygnus.com>.  # Written by Per Bothner <bothner@cygnus.com>.
 # The master version of this file is at the FSF in /home/gd/gnu/lib.  # The master version of this file is at the FSF in /home/gd/gnu/lib.
 # Please send patches to the Autoconf mailing list <autoconf@gnu.org>.  # Please send patches to <autoconf-patches@gnu.org>.
 #  #
 # This script attempts to guess a canonical system name similar to  # This script attempts to guess a canonical system name similar to
 # config.sub.  If it succeeds, it prints the system name on stdout, and  # config.sub.  If it succeeds, it prints the system name on stdout, and
Line 156  EOF Line 156  EOF
     wgrisc:OpenBSD:*:*)      wgrisc:OpenBSD:*:*)
         echo mipsel-unknown-openbsd${UNAME_RELEASE}          echo mipsel-unknown-openbsd${UNAME_RELEASE}
         exit 0 ;;          exit 0 ;;
       *:OS/390:*:*)
           echo i370-ibm-openedition
           exit 0 ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
         echo arm-acorn-riscix${UNAME_RELEASE}          echo arm-acorn-riscix${UNAME_RELEASE}
         exit 0;;          exit 0;;
Line 328  EOF Line 331  EOF
     AViiON:dgux:*:*)      AViiON:dgux:*:*)
         # DG/UX returns AViiON for all architectures          # DG/UX returns AViiON for all architectures
         UNAME_PROCESSOR=`/usr/bin/uname -p`          UNAME_PROCESSOR=`/usr/bin/uname -p`
         if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then          if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
         if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \          then
              -o ${TARGET_BINARY_INTERFACE}x = x ] ; then              if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
                  [ ${TARGET_BINARY_INTERFACE}x = x ]
               then
                 echo m88k-dg-dgux${UNAME_RELEASE}                  echo m88k-dg-dgux${UNAME_RELEASE}
         else              else
                 echo m88k-dg-dguxbcs${UNAME_RELEASE}                  echo m88k-dg-dguxbcs${UNAME_RELEASE}
               fi
           else
               echo i586-dg-dgux${UNAME_RELEASE}
         fi          fi
         else echo i586-dg-dgux${UNAME_RELEASE}  
         fi  
         exit 0 ;;          exit 0 ;;
     M88*:DolphinOS:*:*) # DolphinOS (SVR3)      M88*:DolphinOS:*:*) # DolphinOS (SVR3)
         echo m88k-dolphin-sysv3          echo m88k-dolphin-sysv3
Line 453  EOF Line 459  EOF
                   exit (0);                    exit (0);
               }                }
 EOF  EOF
         ($CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`          (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
         rm -f $dummy.c $dummy          rm -f $dummy.c $dummy
         esac          esac
         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`          HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
Line 550  EOF Line 556  EOF
         echo t90-cray-unicos${UNAME_RELEASE}          echo t90-cray-unicos${UNAME_RELEASE}
         exit 0 ;;          exit 0 ;;
     CRAY*T3E:*:*:*)      CRAY*T3E:*:*:*)
         echo t3e-cray-unicosmk${UNAME_RELEASE}          echo alpha-cray-unicosmk${UNAME_RELEASE}
         exit 0 ;;          exit 0 ;;
     CRAY-2:*:*:*)      CRAY-2:*:*:*)
         echo cray2-cray-unicos          echo cray2-cray-unicos
Line 588  EOF Line 594  EOF
         echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`          echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
         exit 0 ;;          exit 0 ;;
     *:NetBSD:*:*)      *:NetBSD:*:*)
         echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`          echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
         exit 0 ;;          exit 0 ;;
     *:OpenBSD:*:*)      *:OpenBSD:*:*)
         echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`          echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
Line 618  EOF Line 624  EOF
         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`          echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
         exit 0 ;;          exit 0 ;;
     *:Linux:*:*)      *:Linux:*:*)
 #       # uname on the ARM produces all sorts of strangeness, and we need to  
 #       # filter it out.  
 #       case "$UNAME_MACHINE" in  
 #         armv*)                      UNAME_MACHINE=$UNAME_MACHINE ;;  
 #         arm* | sa110*)              UNAME_MACHINE="arm" ;;  
 #       esac  
   
         # The BFD linker knows what the default object file format is, so          # The BFD linker knows what the default object file format is, so
         # first see if it will tell us. cd to the root directory to prevent          # first see if it will tell us. cd to the root directory to prevent
Line 636  EOF Line 636  EOF
                                     s/ .*//                                      s/ .*//
                                     p'`                                      p'`
         case "$ld_supported_emulations" in          case "$ld_supported_emulations" in
           i?86linux)  echo "${UNAME_MACHINE}-pc-linux-gnuaout"      ; exit 0 ;;            *ia64)
           i?86coff)   echo "${UNAME_MACHINE}-pc-linux-gnucoff"      ; exit 0 ;;                  echo "${UNAME_MACHINE}-unknown-linux"
           sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;                  exit 0
           armlinux)   echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;                  ;;
           m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;            i?86linux)
           elf32arm)   echo "${UNAME_MACHINE}-unknown-linux-gnu"     ; exit 0 ;;                  echo "${UNAME_MACHINE}-pc-linux-gnuaout"
                   exit 0
                   ;;
             i?86coff)
                   echo "${UNAME_MACHINE}-pc-linux-gnucoff"
                   exit 0
                   ;;
             sparclinux)
                   echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
                   exit 0
                   ;;
             armlinux)
                   echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
                   exit 0
                   ;;
             elf32arm*)
                   echo "${UNAME_MACHINE}-unknown-linux-gnu"
                   exit 0
                   ;;
             armelf_linux*)
                   echo "${UNAME_MACHINE}-unknown-linux-gnu"
                   exit 0
                   ;;
             m68klinux)
                   echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
                   exit 0
                   ;;
           elf32ppc)            elf32ppc)
                 # Determine Lib Version                  # Determine Lib Version
                 cat >$dummy.c <<EOF                  cat >$dummy.c <<EOF
Line 671  EOF Line 697  EOF
                         fi                          fi
                 fi                        fi      
                 rm -f $dummy.c $dummy                  rm -f $dummy.c $dummy
                 echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;                  echo powerpc-unknown-linux-gnu${LIBC}
                   exit 0
                   ;;
         esac          esac
   
         if test "${UNAME_MACHINE}" = "alpha" ; then          if test "${UNAME_MACHINE}" = "alpha" ; then
Line 798  EOF Line 826  EOF
         echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}          echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
         exit 0 ;;          exit 0 ;;
     i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)      i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
           UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
         if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then          if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
                 echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}                  echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
         else          else
                 echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}                  echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
         fi          fi
         exit 0 ;;          exit 0 ;;
     i?86:*:5:7*)      i?86:*:5:7*)
         UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`          # Fixed at (any) Pentium or better
         (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486          UNAME_MACHINE=i586
         (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) && UNAME_MACHINE=i586          if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
         (/bin/uname -X|egrep '^Machine.*Pent.*II' >/dev/null) && UNAME_MACHINE=i686              echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
         (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) && UNAME_MACHINE=i585          else
         echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}              echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
           fi
         exit 0 ;;          exit 0 ;;
     i?86:*:3.2:*)      i?86:*:3.2:*)
         if test -f /usr/options/cb.name; then          if test -f /usr/options/cb.name; then
Line 944  EOF Line 974  EOF
     *:Rhapsody:*:*)      *:Rhapsody:*:*)
         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}          echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
         exit 0 ;;          exit 0 ;;
       *:QNX:*:4*)
           echo i386-qnx-qnx${UNAME_VERSION}
           exit 0 ;;
 esac  esac
   
 #echo '(No uname command or uname output not recognized.)' 1>&2  #echo '(No uname command or uname output not recognized.)' 1>&2

Removed from v.1.1  
changed lines
  Added in v.1.2


Webmaster