aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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