summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-12-11 18:17:15 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-12-11 18:17:15 +0000
commit894b66d8cd5e124dea7026770b439571f738c2dc (patch)
tree9a05f37b83add01b7bd2b340a3d73f46c7419957 /config.guess
parent5445ab06efed54ee33e8c39ca07037277554969a (diff)
downloademacs-894b66d8cd5e124dea7026770b439571f738c2dc.tar.gz
Updated from master source.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index 7b24a8728ca..c466aa76364 100755
--- a/config.guess
+++ b/config.guess
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
-timestamp='2008-11-15'
+timestamp='2008-12-11'
# 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
@@ -335,9 +335,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
SUN_ARCH="i386"
# If there is a compiler, see if it is configured for 64-bit objects.
# 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. Note that the full path to
+ # /usr/bin/echo is necessary to work around the shell builtins for
+ # echo that do not handle newlines.
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- if echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \
+ if /usr/bin/echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then