/[svn]/ircd-hybrid-7.3/config.guess
ViewVC logotype

Diff of /ircd-hybrid-7.3/config.guess

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

revision 1252 by michael, Tue Nov 2 15:19:41 2010 UTC revision 1253 by michael, Tue Nov 1 09:03:49 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
5  #   Free Software Foundation, Inc.  #   Free Software Foundation, Inc.
6    
7  timestamp='2010-08-21'  timestamp='2009-11-20'
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 56  version="\ Line 56  version="\
56  GNU config.guess ($timestamp)  GNU config.guess ($timestamp)
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, 2001,
60  2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 Software Foundation, Inc.  
61    
62  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
63  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 92  if test $# != 0; then Line 91  if test $# != 0; then
91    exit 1    exit 1
92  fi  fi
93    
94  trap 'exit 1' HUP INT TERM  trap 'exit 1' 1 2 15
95    
96  # CC_FOR_BUILD -- compiler used by this script. Note that the use of a  # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
97  # compiler to aid in system detection is discouraged as it requires  # compiler to aid in system detection is discouraged as it requires
# Line 106  trap 'exit 1' HUP INT TERM Line 105  trap 'exit 1' HUP INT TERM
105    
106  set_cc_for_build='  set_cc_for_build='
107  trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;  trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
108  trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;  trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
109  : ${TMPDIR=/tmp} ;  : ${TMPDIR=/tmp} ;
110   { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||   { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
111   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
# Line 552  EOF Line 551  EOF
551                  echo rs6000-ibm-aix3.2                  echo rs6000-ibm-aix3.2
552          fi          fi
553          exit ;;          exit ;;
554      *:AIX:*:[4567])      *:AIX:*:[456])
555          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 }'`
556          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
557                  IBM_ARCH=rs6000                  IBM_ARCH=rs6000
# Line 968  EOF Line 967  EOF
967      sparc:Linux:*:* | sparc64:Linux:*:*)      sparc:Linux:*:* | sparc64:Linux:*:*)
968          echo ${UNAME_MACHINE}-unknown-linux-gnu          echo ${UNAME_MACHINE}-unknown-linux-gnu
969          exit ;;          exit ;;
     tile*:Linux:*:*)  
         echo ${UNAME_MACHINE}-tilera-linux-gnu  
         exit ;;  
970      vax:Linux:*:*)      vax:Linux:*:*)
971          echo ${UNAME_MACHINE}-dec-linux-gnu          echo ${UNAME_MACHINE}-dec-linux-gnu
972          exit ;;          exit ;;

Legend:
Removed from v.1252  
changed lines
  Added in v.1253

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28