2011/5/7 André Hentschel nerv@dawncrow.de:
from git://git.sv.gnu.org/config.git without the whitespace changes
tools/config.guess | 17 ++++++++++------- tools/config.sub | 49 +++++++++++++++++++++++++++++++++++-------------- 2 files changed, 45 insertions(+), 21 deletions(-)
diff --git a/tools/config.guess b/tools/config.guess index 4c8f032..1f28e79 100755 --- a/tools/config.guess +++ b/tools/config.guess @@ -92,7 +92,7 @@ if test $# != 0; then exit 1 fi
-trap 'exit 1' HUP INT TERM +trap 'exit 1' 1 2 15
# 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' HUP INT TERM
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" HUP INT PIPE TERM ; +trap "rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${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) ; } ||
Looks like http://bugs.winehq.org/show_bug.cgi?id=16622 has re-emerged: http://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=2ec80f0dba77...