aboutsummaryrefslogtreecommitdiff
path: root/share/mk/bsd.mkopt.mk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2015-02-09 16:03:55 +0000
committerWarner Losh <imp@FreeBSD.org>2015-02-09 16:03:55 +0000
commita469e551a41b79b8aa9d8cb09ba995b1a2a808fb (patch)
tree7b6511171edc8b58b0b253e15ebfca41abcbef81 /share/mk/bsd.mkopt.mk
parent3b33679869fc9898c7f0b731dde7561680466343 (diff)
downloadsrc-a469e551a41b79b8aa9d8cb09ba995b1a2a808fb.tar.gz
src-a469e551a41b79b8aa9d8cb09ba995b1a2a808fb.zip
Notes
Diffstat (limited to 'share/mk/bsd.mkopt.mk')
-rw-r--r--share/mk/bsd.mkopt.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/mk/bsd.mkopt.mk b/share/mk/bsd.mkopt.mk
index 46f835b86dca..9cfe1bf09d07 100644
--- a/share/mk/bsd.mkopt.mk
+++ b/share/mk/bsd.mkopt.mk
@@ -33,7 +33,11 @@ MK_${var}:= no
.else
MK_${var}:= yes
.endif
+.else
+.if ${MK_${var}} != "yes" && ${MK_${var}} != "no"
+.error "Illegal value for MK_${var}: ${MK_${var}}"
.endif
+.endif # !defined(MK_${var})
.endfor
.undef __DEFAULT_YES_OPTIONS
@@ -47,6 +51,10 @@ MK_${var}:= yes
.else
MK_${var}:= no
.endif
+.else
+.if ${MK_${var}} != "yes" && ${MK_${var}} != "no"
+.error "Illegal value for MK_${var}: ${MK_${var}}"
.endif
+.endif # !defined(MK_${var})
.endfor
.undef __DEFAULT_NO_OPTIONS