* 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

View File

@ -1,3 +1,10 @@
2008-11-16 Ben Elliston <bje@gnu.org>
* 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 <ali_gnu@emvision.com> 2008-11-15 Ali Bahrami <ali_gnu@emvision.com>
Ben Elliston <bje@gnu.org> Ben Elliston <bje@gnu.org>

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. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers. # This test works for both compilers.
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then 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) | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null grep IS_64BIT_ARCH >/dev/null
then then

View File

@ -37,3 +37,4 @@ i86pc 5.6 SunOS ignored i386-pc-solaris2.6
IA64 6.0 Interix ignored ia64-unknown-interix6.0 IA64 6.0 Interix ignored ia64-unknown-interix6.0
BePC 1.0 Haiku ignored i586-pc-haiku BePC 1.0 Haiku ignored i586-pc-haiku
padre 2.6.15 Linux ignored sparc-unknown-linux-gnu padre 2.6.15 Linux ignored sparc-unknown-linux-gnu
ppc 2.6.9-22 Linux ignored powerpc-unknown-linux-gnu