diff --git a/ChangeLog b/ChangeLog index ff329f4d545..33ab962aadc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * config.sub: Tidied up case statements. 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 <$dummy.c < #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