From: K. Richard Pixley Date: Tue, 21 Apr 1992 19:33:13 +0000 (+0000) Subject: configure: test for config.sub with "config.sub sun4" rather than X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94c7ae212df7c2d3266d558ecf8a94a237f7690c;p=binutils-gdb.git 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. --- diff --git a/ChangeLog b/ChangeLog index 90c27630340..482c71e4ed5 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 d8d44a83632..97cf431ccad 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