aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-02 04:40:34 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-02 04:40:34 +0000
commit9402894306d94786feebe623da6fa004edfa7dc6 (patch)
tree2f11c84d16b4d8ba3656bae2b35b2ea2a397a00c /configure.in
parenta0de4c4d9ced7c8b512609df8def912e6829a420 (diff)
downloadgdb-9402894306d94786feebe623da6fa004edfa7dc6.zip
gdb-9402894306d94786feebe623da6fa004edfa7dc6.tar.gz
gdb-9402894306d94786feebe623da6fa004edfa7dc6.tar.bz2
* configure: If config.guess result is a prefix of the user
specified target, assume a native build and use the user specified target as the host alias. Remove SunOS patch suffix removal hack. * configure.in: Remove SunOS patch suffix removal hack.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 932cc25..1ed4555 100644
--- a/configure.in
+++ b/configure.in
@@ -149,13 +149,7 @@ esac
is_cross_compiler=
-# Remove patch suffixes from host and target names.
-# Example: 'sparc-sun-sunos4.1.3_U1'
-# See similar code in configure.
-hostnop=`echo ${host} | sed '/sun-sunos/s/_U1//'`
-targetnop=`echo ${target} | sed '/sun-sunos/s/_U1//'`
-
-if [ x"${hostnop}" = x"${targetnop}" ] ; then
+if [ x"${host}" = x"${target}" ] ; then
# when doing a native toolchain, don't build the targets
# that are in the 'cross only' list
for i in ${cross_only} ; do