| 1 |
|
#! /bin/sh |
| 2 |
|
# Attempt to guess a canonical system name. |
| 3 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4 |
< |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 4 |
> |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 5 |
|
# Free Software Foundation, Inc. |
| 6 |
|
|
| 7 |
< |
timestamp='2009-11-20' |
| 7 |
> |
timestamp='2010-04-03' |
| 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 |
| 56 |
|
GNU config.guess ($timestamp) |
| 57 |
|
|
| 58 |
|
Originally written by Per Bothner. |
| 59 |
< |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 60 |
< |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 59 |
> |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 60 |
> |
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
| 61 |
> |
Software Foundation, Inc. |
| 62 |
|
|
| 63 |
|
This is free software; see the source for copying conditions. There is NO |
| 64 |
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 92 |
|
exit 1 |
| 93 |
|
fi |
| 94 |
|
|
| 95 |
< |
trap 'exit 1' 1 2 15 |
| 95 |
> |
trap 'exit 1' HUP INT TERM |
| 96 |
|
|
| 97 |
|
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a |
| 98 |
|
# compiler to aid in system detection is discouraged as it requires |
| 106 |
|
|
| 107 |
|
set_cc_for_build=' |
| 108 |
|
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; |
| 109 |
< |
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; |
| 109 |
> |
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ; |
| 110 |
|
: ${TMPDIR=/tmp} ; |
| 111 |
|
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || |
| 112 |
|
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || |