From 66dea5074e273c5c36eb507f508fea253495604e Mon Sep 17 00:00:00 2001 From: Bill Cox Date: Thu, 26 May 1994 15:59:22 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ configure.in | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 98a7db52fe1..374c66795ea 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 1ed4555fa06..f83324c5c68 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 -- 2.30.2