2005-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* config.guess (mips:Linux:*:*, mips64:Linux:*:*, i*86:Linux:*:*):
	Fix quoting of eval command line, allow for preprocessor to insert
	white space between C tokens.
	(i*86:Linux:*:*): Handle Portland Group pgcc like Intel icc; it
	doesn't define __ELF__ either.
This commit is contained in:
Ben Elliston 2005-12-12 23:38:07 +00:00
parent 59bd9e65b4
commit 198a3211f7
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2005-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config.guess (mips:Linux:*:*, mips64:Linux:*:*, i*86:Linux:*:*):
Fix quoting of eval command line, allow for preprocessor to insert
white space between C tokens.
(i*86:Linux:*:*): Handle Portland Group pgcc like Intel icc; it
doesn't define __ELF__ either.
2005-12-11 Ben Elliston <bje@gnu.org>
From Shaun Jackman <sjackman@gmail.com>:

8
config.guess vendored
View File

@ -851,7 +851,7 @@ EOF
#endif
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
mips64:Linux:*:*)
@ -870,7 +870,7 @@ EOF
#endif
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
@ -967,7 +967,7 @@ EOF
LIBC=gnulibc1
# endif
#else
#ifdef __INTEL_COMPILER
#if defined(__INTEL_COMPILER) || defined(__PGI)
LIBC=gnu
#else
LIBC=gnuaout
@ -977,7 +977,7 @@ EOF
LIBC=dietlibc
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`"
test x"${LIBC}" != x && {
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
exit