summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorBen Elliston <bje@air.net.au>1999-05-25 20:15:44 +0000
committerBen Elliston <bje@air.net.au>1999-05-25 20:15:44 +0000
commitaf0a735bb7355ea3c080215b64b4eaa72083a4ec (patch)
tree8700adcec49153e2626a5e14847c82c759e402d8 /config.guess
parentaba9affda7d2885beede0d95aae6c5a80e230364 (diff)
downloademacs-af0a735bb7355ea3c080215b64b4eaa72083a4ec.tar.gz
1999-05-26 Ben Elliston <bje@cygnus.com>
* config.guess (dummy): Changed to $dummy. From H.J. Lu.
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