diff --git a/ChangeLog b/ChangeLog index 8e7facc..d250f76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-16 Ben Elliston + + * config.guess (i86pc:SunOS:5.*:*, i86xen:SunOS:5.*:*): No need to + invoke echo as /usr/bin/echo; we've never done it this way before. + + * testsuite/config-guess.data: Add powerpc-unknown-linux-gnu case. + 2008-11-15 Ali Bahrami Ben Elliston diff --git a/config.guess b/config.guess index c0d5198..7b24a87 100755 --- a/config.guess +++ b/config.guess @@ -337,7 +337,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if /usr/bin/echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \ + if echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index 37d55e0..086771f 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -37,3 +37,4 @@ i86pc 5.6 SunOS ignored i386-pc-solaris2.6 IA64 6.0 Interix ignored ia64-unknown-interix6.0 BePC 1.0 Haiku ignored i586-pc-haiku padre 2.6.15 Linux ignored sparc-unknown-linux-gnu +ppc 2.6.9-22 Linux ignored powerpc-unknown-linux-gnu