Warn about nonfunctional WITHOUT options
Print a warning if we try to WITHOUT_ an option which is marked as "required" (and forced on). Suggested by: emaste, imp Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D40613
This commit is contained in:
parent
4bc148c30e
commit
824b64a2f1
@ -59,6 +59,9 @@ MK_${var}:= yes
|
||||
# step towards removing the options entirely.
|
||||
#
|
||||
.for var in ${__REQUIRED_OPTIONS}
|
||||
.if defined(WITHOUT_${var})
|
||||
.warning WITHOUT_${var} option ignored: it is no longer supported
|
||||
.endif
|
||||
MK_${var}:= yes
|
||||
.endfor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user