* config.guess: Let set_cc_for_build evaluate only once to avoid

creation of more than one tmpdir without removing the old one.
This commit is contained in:
Ben Elliston 2005-07-08 07:35:25 +00:00
parent f9001cba71
commit 412495ba09
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-07-08 Michael Haubenwallner <michael.haubenwallner@salomon.at>
* config.guess: Let set_cc_for_build evaluate only once to avoid
creation of more than one tmpdir without removing the old one.
2005-07-08 Ben Elliston <bje@gnu.org>
* config.sub: Add support for Haiku.

7
config.guess vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-06-30'
timestamp='2005-07-08'
# 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
@ -125,7 +125,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
;;
,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;;
esac ;'
esac ; set_cc_for_build= ;'
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24)
@ -623,8 +623,7 @@ EOF
esac
if [ ${HP_ARCH} = "hppa2.0w" ]
then
# avoid double evaluation of $set_cc_for_build
test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
eval $set_cc_for_build
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler