From 37209163a0d69752440c898ca010c33992f4b286 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 17 Dec 2002 12:53:41 +0000 Subject: [PATCH] 2002-12-17 John David Anglin * config.guess (hppa*): Remove tmpdir when CC_FOR_BUILD is set. --- ChangeLog | 4 ++++ config.guess | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46a2922..6f52356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-12-17 John David Anglin + + * config.guess (hppa*): Remove tmpdir when CC_FOR_BUILD is set. + 2002-12-11 Ben Elliston Dave Anglin Ross Alexander diff --git a/config.guess b/config.guess index b1ed94f..c41730c 100755 --- a/config.guess +++ b/config.guess @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. -timestamp='2002-12-11' +timestamp='2002-12-17' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -636,7 +636,7 @@ EOF EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa - rm -f $dummy.c $dummy && rmdir $tmpdir + rm -f $dummy.c $dummy fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] @@ -650,6 +650,7 @@ EOF HP_ARCH="hppa64" fi fi + test -n "$CC_FOR_BUILD" && rmdir $tmpdir echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*)