mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-05 04:38:20 +12:00
* config.guess (set_cc_for_build): Guard against $CC_FOR_BUILD,
$HOST_CC and $CC being undefined by using ${var-} style expansion. (*:NetBSD:*:*): Likewise for $abi. * testsuite/config-guess.sh: Run config.guess under `sh -eu'.
This commit is contained in:
@ -30,7 +30,7 @@ run_config_guess()
|
||||
[ \$1 = -p ] && echo "@PROCESSOR@" && exit 0
|
||||
EOF
|
||||
chmod +x uname
|
||||
output=$(sh -e ../config.guess 2>/dev/null)
|
||||
output=$(sh -eu ../config.guess 2>/dev/null)
|
||||
if test $? != 0 ; then
|
||||
echo "FAIL: unable to guess $machine:$release:$system:$version"
|
||||
rc=1
|
||||
|
Reference in New Issue
Block a user