How can I set SAMBA_VERSION_VENDOR_FUNCTION in a waf build?

Richard Sharpe realrichardsharpe at gmail.com
Wed Feb 6 16:03:41 MST 2013


On Wed, Feb 6, 2013 at 1:56 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Wed, 2013-02-06 at 13:13 -0800, Richard Sharpe wrote:
>> Hi folks,
>>
>> How do I set that particular macro?
>
> Perhaps (untested) set it using
> CFLAGS="-DSAMBA_VERSION_VENDOR_FUNCTION=richards_version_fn()" ./configure && make

Nope. It used during configure but it is not passed through. That is,
it does not seem to be defined in the generate Makefile. Thus, waf
build does not seem to get this.

Will have to find another way.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list