changeset 24775:983487283d36

1999-05-26 Ben Elliston <bje@cygnus.com> * config.guess (dummy): Changed to $dummy. From H.J. Lu.
author Ben Elliston <bje@air.net.au>
date Tue, 25 May 1999 20:15:44 +0000
parents 99f69a5b41f4
children b6836aec7a0c
files config.guess
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/config.guess	Tue May 25 16:05:45 1999 +0000
+++ b/config.guess	Tue May 25 20:15:44 1999 +0000
@@ -643,7 +643,7 @@
 	  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 @@
 }
 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