2010-04-03 Wolfram Sang <w.sang@pengutronix.de>

* config.guess: Use signal names instead of numbers with trap.
This commit is contained in:
Ben Elliston 2010-04-03 08:48:41 +11:00
parent dce3df2c4f
commit ab91362155
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-04-03 Wolfram Sang <w.sang@pengutronix.de>
* config.guess: Use signal names instead of numbers with trap.
2010-03-23 Joseph Myers <joseph@codesourcery.com>
* config.sub: Always map c54x-*, c55x-* and c6x-* to corresponding

4
config.guess vendored
View File

@ -92,7 +92,7 @@ if test $# != 0; then
exit 1
fi
trap 'exit 1' 1 2 15
trap 'exit 1' HUP INT TERM
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
# compiler to aid in system detection is discouraged as it requires
@ -106,7 +106,7 @@ trap 'exit 1' 1 2 15
set_cc_for_build='
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
: ${TMPDIR=/tmp} ;
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||