Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/config/config.guess
ViewVC logotype

Diff of /trunk/config/config.guess

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3, Wed Jan 6 04:47:22 2010 UTC revision 674, Wed Mar 23 16:27:54 2011 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Attempt to guess a canonical system name.  # Attempt to guess a canonical system name.
3  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5  #   Free Software Foundation, Inc.  #   2011 Free Software Foundation, Inc.
6    
7  timestamp='2009-12-30'  timestamp='2011-02-02'
8    
9  # This file is free software; you can redistribute it and/or modify it  # 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  # under the terms of the GNU General Public License as published by
# Line 57  Line 57 
57    
58  Originally written by Per Bothner.  Originally written by Per Bothner.
59  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
60  2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free  2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
61  Software Foundation, Inc.  Software Foundation, Inc.
62    
63  This is free software; see the source for copying conditions.  There is NO  This is free software; see the source for copying conditions.  There is NO
# Line 270  Line 270 
270          # A Xn.n version is an unreleased experimental baselevel.          # A Xn.n version is an unreleased experimental baselevel.
271          # 1.2 uses "1.2" for uname -r.          # 1.2 uses "1.2" for uname -r.
272          echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`          echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273          exit ;;          # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
274            exitcode=$?
275            trap '' 0
276            exit $exitcode ;;
277      Alpha\ *:Windows_NT*:*)      Alpha\ *:Windows_NT*:*)
278          # How do we know it's Interix rather than the generic POSIX subsystem?          # How do we know it's Interix rather than the generic POSIX subsystem?
279          # Should we change UNAME_MACHINE based on the output of uname instead          # Should we change UNAME_MACHINE based on the output of uname instead
# Line 552  Line 555 
555                  echo rs6000-ibm-aix3.2                  echo rs6000-ibm-aix3.2
556          fi          fi
557          exit ;;          exit ;;
558      *:AIX:*:[456])      *:AIX:*:[4567])
559          IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`          IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
560          if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then          if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
561                  IBM_ARCH=rs6000                  IBM_ARCH=rs6000
# Line 968  Line 971 
971      sparc:Linux:*:* | sparc64:Linux:*:*)      sparc:Linux:*:* | sparc64:Linux:*:*)
972          echo ${UNAME_MACHINE}-unknown-linux-gnu          echo ${UNAME_MACHINE}-unknown-linux-gnu
973          exit ;;          exit ;;
974        tile*:Linux:*:*)
975            echo ${UNAME_MACHINE}-tilera-linux-gnu
976            exit ;;
977      vax:Linux:*:*)      vax:Linux:*:*)
978          echo ${UNAME_MACHINE}-dec-linux-gnu          echo ${UNAME_MACHINE}-dec-linux-gnu
979          exit ;;          exit ;;
# Line 1231  Line 1237 
1237      *:QNX:*:4*)      *:QNX:*:4*)
1238          echo i386-pc-qnx          echo i386-pc-qnx
1239          exit ;;          exit ;;
1240        NEO-?:NONSTOP_KERNEL:*:*)
1241            echo neo-tandem-nsk${UNAME_RELEASE}
1242            exit ;;
1243      NSE-?:NONSTOP_KERNEL:*:*)      NSE-?:NONSTOP_KERNEL:*:*)
1244          echo nse-tandem-nsk${UNAME_RELEASE}          echo nse-tandem-nsk${UNAME_RELEASE}
1245          exit ;;          exit ;;

Legend:
Removed from v.3  
changed lines
  Added in v.674

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0