aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Cox <bill@cygnus>1994-05-26 15:59:22 +0000
committerBill Cox <bill@cygnus>1994-05-26 15:59:22 +0000
commit66dea5074e273c5c36eb507f508fea253495604e (patch)
tree27cb3cf1e1c610f55595308cb997ab2b33d3b0a7
parent06f98d49084b27a742e4ab34d539be17c3c6eb13 (diff)
downloadgdb-66dea5074e273c5c36eb507f508fea253495604e.zip
gdb-66dea5074e273c5c36eb507f508fea253495604e.tar.gz
gdb-66dea5074e273c5c36eb507f508fea253495604e.tar.bz2
* config.sub: Move deletion of patch suffix from here...
* configure.in: To here, at Ian's suggestion. The top- level scripts might need to know of a patch level.
-rw-r--r--ChangeLog6
-rw-r--r--configure.in5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 98a7db5..374c667 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu May 26 08:53:19 1994 Bill Cox (bill@rtl.cygnus.com)
+
+ * config.sub: Move deletion of patch suffix from here...
+ * configure.in: To here, at Ian's suggestion. The top-
+ level scripts might need to know of a patch level.
+
Wed May 25 09:15:54 1994 Bill Cox (bill@rtl.cygnus.com)
* config.sub: Strip off patch suffix so rtl is recognized
diff --git a/configure.in b/configure.in
index 1ed4555..f83324c 100644
--- a/configure.in
+++ b/configure.in
@@ -149,6 +149,11 @@ esac
is_cross_compiler=
+# Remove patch suffixes from host and target names
+# Example: 'sparc-sun-sunos4.1.3_U1'
+hostnop=`echo ${host} | sed '/sun-sunos/s/_U1//'`
+targetnop=`echo ${target} | sed '/sun-sunos/s/_U1//'`
+
if [ x"${host}" = x"${target}" ] ; then
# when doing a native toolchain, don't build the targets
# that are in the 'cross only' list