aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 90c2763..482c71e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Apr 21 12:31:33 1992 K. Richard Pixley (rich@cygnus.com)
+
+ * 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.
+
Mon Apr 20 18:16:36 1992 K. Richard Pixley (rich@rtl.cygnus.com)
* Makefile.in: explicitly pass CFLAGS on recursion. no longer pass
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