Re: IS_BUILTIN vs USE_BUILTIN

David Holland <[email protected]>
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
On Fri, Aug 14, 2026 at 07:52:09AM -0400, Greg Troxel wrote:
 > My question is:
 > 
 >   Is IS_BUILTIN supposed to include "good enough" 

AIUI, generally not, although I'm pretty sure there are cases where
some minimal level of "good enough" is required for IS_BUILTIN to
register at all.

As wiz's reply indicated, there's a second implicit requirement here,
namely to avoid doing expensive checks more than once.

 >   and USE_BUILTIN
 >   supposed to include "PREFER machinery says use it"?

Yes.

-- 
David A. Holland
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.