diff options
author | Bill Cox <bill@cygnus> | 1994-05-26 15:59:22 +0000 |
---|---|---|
committer | Bill Cox <bill@cygnus> | 1994-05-26 15:59:22 +0000 |
commit | 66dea5074e273c5c36eb507f508fea253495604e (patch) | |
tree | 27cb3cf1e1c610f55595308cb997ab2b33d3b0a7 /configure.in | |
parent | 06f98d49084b27a742e4ab34d539be17c3c6eb13 (diff) | |
download | gdb-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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 |