aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-04-21 19:33:13 +0000
committerK. Richard Pixley <rich@cygnus>1992-04-21 19:33:13 +0000
commit94c7ae212df7c2d3266d558ecf8a94a237f7690c (patch)
treef1cb72511c2e5661ce2038c50419398286b1a606 /configure
parent2674a1efcab5e7960417c88dbd3d361c6d49c8e9 (diff)
downloadgdb-94c7ae212df7c2d3266d558ecf8a94a237f7690c.zip
gdb-94c7ae212df7c2d3266d558ecf8a94a237f7690c.tar.gz
gdb-94c7ae212df7c2d3266d558ecf8a94a237f7690c.tar.bz2
configure: test for config.sub with "config.sub sun4" rather than
"config.sub ${host_alias}". Otherwise we can't tell a bad host alias from a missing config.sub.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index d8d44a8..97cf431 100755
--- a/configure
+++ b/configure
@@ -324,7 +324,8 @@ fi
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
-if ${configsub} `echo ${host_alias} | sed -e 's/ .*//'` >/dev/null 2>&1 ; then
+# this is a hack. sun4 must always be a valid host alias or this will fail.
+if ${configsub} sun4 >/dev/null 2>&1 ; then
true
else
echo '***' cannot find config.sub. 1>&2