Use $have_gcc3 rather than $use_tools_toolchain,

which isn't set by sets.defaults.
This commit is contained in:
tsutsui 2003-12-09 15:42:31 +00:00
parent 34f5b5e378
commit fddb523c90
1 changed files with 4 additions and 4 deletions

View File

@ -9,6 +9,7 @@
#
# Environment
#
# have_gcc3
# lintlibs
# lkm
# machine
@ -18,7 +19,6 @@
# shlib
# stlib
# toolchain_missing
# use_tools_toolchain
#
list_set_files () {
for setname; do
@ -42,7 +42,7 @@ list_set_files () {
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
# # $NetBSD: sets.subr,v 1.5 2003/11/25 07:19:46 dyoung Exp $
# # $NetBSD: sets.subr,v 1.6 2003/12/09 15:42:31 tsutsui Exp $
# . base-sys-root
# ./altroot base-sys-root
# ./bin base-sys-root
@ -56,6 +56,7 @@ list_set_files () {
#
# Environment
#
# have_gcc3
# lintlibs
# lkm
# machine
@ -65,7 +66,6 @@ list_set_files () {
# shlib
# stlib
# toolchain_missing
# use_tools_toolchain
#
list_set_lists () {
setname=$1
@ -115,7 +115,7 @@ list_set_lists () {
fi
fi
if [ "$toolchain_missing" != "yes" ]; then
if [ "$use_tools_toolchain" != "yes" ]; then
if [ "$have_gcc3" = "yes" ]; then
if [ -f $setd/lists/$setname/gcc.mi ]; then
echo $setd/lists/$setname/gcc.mi
fi