Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151078730
D30684.id90543.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
428 B
Referenced Files
None
Subscribers
None
D30684.id90543.diff
View Options
Index: share/mk/bsd.mkopt.mk
===================================================================
--- share/mk/bsd.mkopt.mk
+++ share/mk/bsd.mkopt.mk
@@ -36,6 +36,9 @@
#
.for var in ${__DEFAULT_YES_OPTIONS}
.if !defined(MK_${var})
+.if defined(WITH_${var}) && ${WITH_${var}} == "no"
+.warning "Use -DWITHOUT_${var} insetad of WITH_${var}=no"
+.endif
.if defined(WITHOUT_${var}) # WITHOUT always wins
MK_${var}:= no
.else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 8:24 PM (14 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30997729
Default Alt Text
D30684.id90543.diff (428 B)
Attached To
Mode
D30684: mk: WITH_FOO=no now generates a warning
Attached
Detach File
Event Timeline
Log In to Comment