From fb873f96362d93ce68e319d74d0ba9e162a3c4d8 Mon Sep 17 00:00:00 2001
From: bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 25 May 1999 13:06:22 +0000
Subject: [PATCH] Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org) 	*
 config.guess (dummy): Changed to $dummy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27139 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog    | 4 ++++
 config.guess | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ff329f4d545a..33ab962aadc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org)
+
+	* config.guess (dummy): Changed to $dummy.
+
 1999-05-24  Nick Clifton  <nickc@cygnus.com>
 
 	* config.sub: Tidied up case statements.
diff --git a/config.guess b/config.guess
index b6c264af12e1..6cb567b8ae6c 100755
--- a/config.guess
+++ b/config.guess
@@ -643,7 +643,7 @@ EOF
 	  m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
 	  elf32ppc)
 		# Determine Lib Version
-		cat >dummy.c <<EOF
+		cat >$dummy.c <<EOF
 #include <features.h>
 #if defined(__GLIBC__)
 extern char __libc_version[];
@@ -662,14 +662,14 @@ main(argc, argv)
 }
 EOF
 		LIBC=""
-		${CC-cc} dummy.c -o dummy 2>/dev/null
+		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
 		if test "$?" = 0 ; then
-			./dummy | grep 1\.99 > /dev/null
+			./$dummy | grep 1\.99 > /dev/null
 			if test "$?" = 0 ; then
 				LIBC="libc1"
 			fi
 		fi	
-		rm -f dummy.c dummy
+		rm -f $dummy.c $dummy
 		echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
 	esac
 
-- 
GitLab