1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Introduce build option to enable Himmelblau

The build for Himmelblau will be disabled by
default.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
David Mulder 2024-08-08 14:06:22 -06:00
parent 9ffac29435
commit 58fbba3897
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python
bld.RECURSE('himmelblaud')
bld.RECURSE('nss')
bld.RECURSE('pam')
if conf.env.enable_himmelblau:
bld.RECURSE('himmelblaud')
bld.RECURSE('nss')
bld.RECURSE('pam')

View File

@ -313,7 +313,7 @@ tasks = {
"samba": {
"sequence": [
("random-sleep", random_sleep(300, 900)),
("configure", "./configure.developer" + samba_configure_params),
("configure", "./configure.developer --with-himmelblau" + samba_configure_params),
("make", "make -j"),
("test", make_test(exclude_envs=[
"none",

View File

@ -168,6 +168,10 @@ def options(opt):
dest='SAMBA_VERSION_VENDOR_SUFFIX',
default=None)
opt.add_option('--with-himmelblau', default=False,
help=('Build with Azure Entra ID support.'),
action='store_true', dest='enable_himmelblau')
def configure(conf):
if Options.options.SAMBA_VERSION_VENDOR_SUFFIX:
@ -506,6 +510,7 @@ def configure(conf):
conf.env.debug = Options.options.debug
conf.env.developer = Options.options.developer
conf.env.enable_himmelblau = Options.options.enable_himmelblau
#
# FreeBSD is broken. It doesn't include 'extern char **environ'