* config.sub: Move deletion of patch suffix from here...
authorBill Cox <bill@cygnus>
Thu, 26 May 1994 15:59:22 +0000 (15:59 +0000)
committerBill Cox <bill@cygnus>
Thu, 26 May 1994 15:59:22 +0000 (15:59 +0000)
* configure.in: To here, at Ian's suggestion.  The top-
  level scripts might need to know of a patch level.

ChangeLog
configure.in

index 98a7db52fe149801a4255122b50e722c6b5393e3..374c66795ea2e5a3b23ba6332c71acbb37c1ca49 100644 (file)
--- 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
index 1ed4555fa0657c0aac1a70343bb1ddc5e9a3d549..f83324c5c684a24eda802cde38c234a49af143d9 100644 (file)
@@ -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