summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-25 13:06:22 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-25 13:06:22 +0000
commitfb873f96362d93ce68e319d74d0ba9e162a3c4d8 (patch)
tree0f57ec9a79741ba54679aba2fbcda25c5a78ecdf /config.guess
parent3380c7cd89e7aec0c9aff4a9c7e033ccab8e6823 (diff)
downloadgcc-fb873f96362d93ce68e319d74d0ba9e162a3c4d8.tar.gz
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
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.guess b/config.guess
index b6c264af12e..6cb567b8ae6 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