From af0a735bb7355ea3c080215b64b4eaa72083a4ec Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 25 May 1999 20:15:44 +0000 Subject: [PATCH] 1999-05-26 Ben Elliston * config.guess (dummy): Changed to $dummy. From H.J. Lu. --- config.guess | 8 ++++---- 1 file 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 <$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 -- 2.39.2