ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/ac-tools/config.guess
(Generate patch)

Comparing trunk/ac-tools/config.guess (file contents):
Revision 1379 by gezelter, Thu Oct 22 14:09:13 2009 UTC vs.
Revision 1395 by gezelter, Fri Dec 4 17:38:47 2009 UTC

# Line 4 | Line 4
4   #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5   #   Free Software Foundation, Inc.
6  
7 < timestamp='2008-01-23'
7 > timestamp='2009-04-27'
8  
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
# Line 324 | Line 324 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE
324          case `/usr/bin/uname -p` in
325              sparc) echo sparc-icl-nx7; exit ;;
326          esac ;;
327 +    s390x:SunOS:*:*)
328 +        echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
329 +        exit ;;
330      sun4H:SunOS:5.*:*)
331          echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332          exit ;;
# Line 331 | Line 334 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE
334          echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335          exit ;;
336      i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 <        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
337 >        eval $set_cc_for_build
338 >        SUN_ARCH="i386"
339 >        # If there is a compiler, see if it is configured for 64-bit objects.
340 >        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
341 >        # This test works for both compilers.
342 >        if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
343 >            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
344 >                (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
345 >                grep IS_64BIT_ARCH >/dev/null
346 >            then
347 >                SUN_ARCH="x86_64"
348 >            fi
349 >        fi
350 >        echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
351          exit ;;
352      sun4*:SunOS:6*:*)
353          # According to config.sub, this is the proper way to canonicalize
# Line 796 | Line 812 | EOF
812              x86)
813                  echo i586-pc-interix${UNAME_RELEASE}
814                  exit ;;
815 <            EM64T | authenticamd)
815 >            EM64T | authenticamd | genuineintel)
816                  echo x86_64-unknown-interix${UNAME_RELEASE}
817                  exit ;;
818              IA64)
# Line 935 | Line 951 | EOF
951          if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
952          echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
953          exit ;;
954 +    padre:Linux:*:*)
955 +        echo sparc-unknown-linux-gnu
956 +        exit ;;
957      parisc:Linux:*:* | hppa:Linux:*:*)
958          # Look for CPU level
959          case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
# Line 985 | Line 1004 | EOF
1004            a.out-i386-linux)
1005                  echo "${UNAME_MACHINE}-pc-linux-gnuaout"
1006                  exit ;;
988          coff-i386)
989                echo "${UNAME_MACHINE}-pc-linux-gnucoff"
990                exit ;;
1007            "")
1008                  # Either a pre-BFD a.out linker (linux-gnuoldld) or
1009                  # one that does not give us useful --help.
# Line 1102 | Line 1118 | EOF
1118      pc:*:*:*)
1119          # Left here for compatibility:
1120          # uname -m prints for DJGPP always 'pc', but it prints nothing about
1121 <        # the processor, so we play safe by assuming i386.
1122 <        echo i386-pc-msdosdjgpp
1121 >        # the processor, so we play safe by assuming i586.
1122 >        # Note: whatever this is, it MUST be the same as what config.sub
1123 >        # prints for the "djgpp" host, or else GDB configury will decide that
1124 >        # this is a cross-build.
1125 >        echo i586-pc-msdosdjgpp
1126          exit ;;
1127      Intel:Mach:3*:*)
1128          echo i386-pc-mach3
# Line 1141 | Line 1160 | EOF
1160      3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1161          /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1162            && { echo i486-ncr-sysv4; exit; } ;;
1163 +    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1164 +        OS_REL='.3'
1165 +        test -r /etc/.relid \
1166 +            && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1167 +        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1168 +            && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1169 +        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1170 +            && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1171 +        /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1172 +            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1173      m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1174          echo m68k-unknown-lynxos${UNAME_RELEASE}
1175          exit ;;
# Line 1215 | Line 1244 | EOF
1244          exit ;;
1245      BePC:BeOS:*:*)      # BeOS running on Intel PC compatible.
1246          echo i586-pc-beos
1247 +        exit ;;
1248 +    BePC:Haiku:*:*)     # Haiku running on Intel PC compatible.
1249 +        echo i586-pc-haiku
1250          exit ;;
1251      SX-4:SUPER-UX:*:*)
1252          echo sx4-nec-superux${UNAME_RELEASE}
# Line 1324 | Line 1356 | EOF
1356      i*86:rdos:*:*)
1357          echo ${UNAME_MACHINE}-pc-rdos
1358          exit ;;
1359 +    i*86:AROS:*:*)
1360 +        echo ${UNAME_MACHINE}-pc-aros
1361 +        exit ;;
1362   esac
1363  
1364   #echo '(No uname command or uname output not recognized.)' 1>&2

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines