]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mk: WITH_FOO=no now generates a warning
authorWarner Losh <imp@FreeBSD.org>
Thu, 10 Jun 2021 00:10:12 +0000 (18:10 -0600)
committerWarner Losh <imp@FreeBSD.org>
Sun, 12 Sep 2021 16:33:14 +0000 (10:33 -0600)
commitb455c74d83e3274c69adbf2e740b49ff875ac0e9
treeb8faf1900734ceeaea0f0f8c591154148f55d9fa
parent1f4475725f0e6a65b6a07f927a278b72a620d8ba
mk: WITH_FOO=no now generates a warning

Many people are used to gnu configure's behavior of changing
--with-foo=no to --without-foo. At the same time, several folks have
WITH_FOO=no in their config files to enable this ironic form of the
option because of an old meme from IRC, a mailing list or the forums (I
forget which). Add a warning to allow to alert people w/o breaking POLA.

Reviewed by: allanjude, bdrewery, manu
MFC After: 2 weeks
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30684

(cherry picked from commit f4d987cd137cb2d0d54a3e35d9258ca7c175d291)
share/mk/bsd.mkopt.mk