tools: Upgrade the config.guess/config.sub scripts

Austin English austinenglish at gmail.com
Sun May 8 13:13:33 CDT 2011


2011/5/7 André Hentschel <nerv at 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=2ec80f0dba77dc2bcb2b2283198472adb132a199;hp=75bd8136f2c4df69e1e5a7b6e89f65874a626cd2

-- 
-Austin



More information about the wine-devel mailing list