config.guess (dummy): Changed to $dummy.

Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org)
	* config.guess (dummy): Changed to $dummy.

From-SVN: r27139
This commit is contained in:
H.J. Lu 1999-05-25 13:06:22 +00:00 committed by Ben Elliston
parent 3e0b47108c
commit c2c08b29b9
2 changed files with 8 additions and 4 deletions

View File

@ -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.

8
config.guess vendored
View File

@ -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