More waf confusion

Eric S. Raymond esr at thyrsus.com
Thu Mar 30 00:00:25 UTC 2017


Gary E. Miller <gem at rellim.com>:
> Here is the relevant part:
> 
>         "define_name: sets a define of the form define_name=x when
>         the test succeeds (a default value for define_name is usually
>         calculated automatically)"
> 
> In your case the define name is calculated automatically.  Looking at the
> code I see no way to avoid the automagic.  Only thing we could do is
> undefine it after the test.

Earlier today I experimented with define_name="".  This suppressed #define
emission to config.h. I have not yet checked for side effects. 
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170329/342055d0/attachment.bin>


More information about the devel mailing list