diff options
author | Ben Elliston <bje@au.ibm.com> | 2009-11-19 22:47:13 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2009-11-20 09:47:13 +1100 |
commit | 5ca0106ad5343e7a323f09789a732f649df69043 (patch) | |
tree | 578d30d21b2f7860da5aaea83a0f99ec75973224 | |
parent | 7787fb8cd1d275313f9c39ac48e5510044340b48 (diff) | |
download | gcc-5ca0106ad5343e7a323f09789a732f649df69043.zip gcc-5ca0106ad5343e7a323f09789a732f649df69043.tar.gz gcc-5ca0106ad5343e7a323f09789a732f649df69043.tar.bz2 |
* config.guess: Update from upstream sources.
From-SVN: r154349
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | config.guess | 18 |
2 files changed, 15 insertions, 7 deletions
@@ -1,3 +1,7 @@ +2009-11-20 Ben Elliston <bje@au.ibm.com> + + * config.guess: Update from upstream sources. + 2009-11-16 Alexandre Oliva <aoliva@redhat.com> * Makefile.def: Restore host and target settings for gmp. diff --git a/config.guess b/config.guess index 5290569..d53e309 100755 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2009-11-08' +timestamp='2009-11-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -891,7 +891,15 @@ EOF echo frv-unknown-linux-gnu exit ;; i*86:Linux:*:*) - echo ${UNAME_MACHINE}-pc-linux-gnu + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -918,11 +926,7 @@ EOF #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) |