aboutsummaryrefslogtreecommitdiff
path: root/readline/support/config.guess
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2002-02-05 04:40:53 +0000
committerBen Elliston <bje@au.ibm.com>2002-02-05 04:40:53 +0000
commitf5e547d6844ae74b7cc1a835b00dff1c023e1473 (patch)
tree990599b74bdffe55fd5e4059bd4c94425d319073 /readline/support/config.guess
parent9f60d481c28a949dc41179ecee5320ba1905398f (diff)
downloadfsf-binutils-gdb-f5e547d6844ae74b7cc1a835b00dff1c023e1473.zip
fsf-binutils-gdb-f5e547d6844ae74b7cc1a835b00dff1c023e1473.tar.gz
fsf-binutils-gdb-f5e547d6844ae74b7cc1a835b00dff1c023e1473.tar.bz2
* config.guess: Import from master sources, rev 1.229.
* config.sub: Import from master sources, rev 1.240.
Diffstat (limited to 'readline/support/config.guess')
-rwxr-xr-xreadline/support/config.guess14
1 files changed, 11 insertions, 3 deletions
diff --git a/readline/support/config.guess b/readline/support/config.guess
index aa6ea3f..83c544d 100755
--- a/readline/support/config.guess
+++ b/readline/support/config.guess
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
-timestamp='2002-01-10'
+timestamp='2002-01-30'
# 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
@@ -837,7 +837,9 @@ EOF
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.
- ld_supported_targets=`cd /; ld --help 2>&1 \
+ # Export LANG=C to prevent ld from outputting information in other
+ # languages.
+ ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \
| sed -ne '/supported targets:/!d
s/[ ][ ]*/ /g
s/.*supported targets: *//
@@ -874,8 +876,12 @@ EOF
LIBC=gnulibc1
# endif
#else
+ #ifdef __INTEL_COMPILER
+ LIBC=gnu
+ #else
LIBC=gnuaout
#endif
+ #endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
rm -f $dummy.c
@@ -1061,8 +1067,10 @@ EOF
*:procnto*:*:* | *:QNX:[0123456789]*:*)
if test "${UNAME_MACHINE}" = "x86pc"; then
UNAME_MACHINE=pc
+ echo i386-${UNAME_MACHINE}-nto-qnx
+ else
+ echo `uname -p`-${UNAME_MACHINE}-nto-qnx
fi
- echo `uname -p`-${UNAME_MACHINE}-nto-qnx
exit 0 ;;
*:QNX:*:4*)
echo i386-pc-qnx