* 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.
This commit is contained in:
Ben Elliston
2008-11-16 11:52:19 +11:00
parent 01e207b7f3
commit 95860226d7
3 changed files with 9 additions and 1 deletions

2
config.guess vendored
View File

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