if TOOLDIR is not defined, USETOOLS should default to "no",

since defaulting to "yes" will just give an error every time.
This commit is contained in:
chs 2001-10-28 00:52:41 +00:00
parent 2f77d1a624
commit 3116cf32a9
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.200 2001/10/26 06:41:46 jmc Exp $
# $NetBSD: bsd.own.mk,v 1.201 2001/10/28 00:52:41 chs Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@ -31,7 +31,7 @@ _SRC_TOP_!= cd ${.CURDIR}; while :; do \
.MAKEOVERRIDES+= _SRC_TOP_
.endif
.if (${_SRC_TOP_} != "") && defined(USE_NEW_TOOLCHAIN)
.if (${_SRC_TOP_} != "") && defined(USE_NEW_TOOLCHAIN) && defined(TOOLDIR)
USETOOLS?= yes
.endif
USETOOLS?= no