# default = None means autodetection
opt.samba_add_onoff_option('spotlight', with_name="enable", without_name="disable", default=None)
+ opt.samba_add_onoff_option('wsp', with_name="enable", without_name="disable", default=False)
def configure(conf):
default_static_modules = []
and conf.CONFIG_GET('HAVE_UTF8_NORMALISATION')
)
+ conf.env.with_wsp = False
+ if conf.CONFIG_GET('ENABLE_SELFTEST'):
+ Options.options.with_wsp = True
+ if Options.options.with_wsp:
+ Logs.info("building with WSP support")
+ conf.DEFINE('WITH_WSP', '1')
+ conf.env.with_wsp = True
+
conf.env.with_spotlight = False
if Options.options.with_spotlight is not False:
backends = ['noindex']