mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
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.
This commit is contained in:
3
configure
vendored
3
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user