1999-05-26 Ben Elliston <bje@cygnus.com>

* config.guess (dummy): Changed to $dummy. From H.J. Lu.
This commit is contained in:
Ben Elliston 1999-05-25 20:15:44 +00:00
parent 6d93f5cfd3
commit ffab3cd839

8
config.guess vendored
View File

@ -643,7 +643,7 @@ EOF
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
elf32ppc) elf32ppc)
# Determine Lib Version # Determine Lib Version
cat >dummy.c <<EOF cat >$dummy.c <<EOF
#include <features.h> #include <features.h>
#if defined(__GLIBC__) #if defined(__GLIBC__)
extern char __libc_version[]; extern char __libc_version[];
@ -662,14 +662,14 @@ main(argc, argv)
} }
EOF EOF
LIBC="" LIBC=""
${CC-cc} dummy.c -o dummy 2>/dev/null $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
if test "$?" = 0 ; then if test "$?" = 0 ; then
./dummy | grep 1\.99 > /dev/null ./$dummy | grep 1\.99 > /dev/null
if test "$?" = 0 ; then if test "$?" = 0 ; then
LIBC="libc1" LIBC="libc1"
fi fi
fi fi
rm -f dummy.c dummy rm -f $dummy.c $dummy
echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;; echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
esac esac