aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBill Cox <bill@cygnus>1994-06-01 21:38:29 +0000
committerBill Cox <bill@cygnus>1994-06-01 21:38:29 +0000
commitd237841cc55e98729567c83ac4038902d0082b86 (patch)
treeddd1b3cf9df55fe92effb56b4900433294eac306 /configure.in
parent16451f9b70b5a072e6fe9625bcf404eda3431cbe (diff)
downloadgdb-d237841cc55e98729567c83ac4038902d0082b86.zip
gdb-d237841cc55e98729567c83ac4038902d0082b86.tar.gz
gdb-d237841cc55e98729567c83ac4038902d0082b86.tar.bz2
* Makefile.in: Rename HOST_ONLY to NATIVE.
* configure: Delete SunOs patch suffix from host_canonical and build_canonical variables that are prepended to Makefiles. * configure.in: Add comments to patch suffix removal for easier maintenance.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f83324c..932cc25 100644
--- a/configure.in
+++ b/configure.in
@@ -149,12 +149,13 @@ esac
is_cross_compiler=
-# Remove patch suffixes from host and target names
+# 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"${host}" = x"${target}" ] ; then
+if [ x"${hostnop}" = x"${targetnop}" ] ; then
# when doing a native toolchain, don't build the targets
# that are in the 'cross only' list
for i in ${cross_only} ; do