How do we allow a module to be built via --enable-some-module?
Ralph Böhme
rb at sernet.de
Sun Mar 1 08:34:48 MST 2015
On Sat, Feb 28, 2015 at 10:11:11PM -0800, Richard Sharpe wrote:
> Hi folks,
>
> so if we have the following in source3/wscript:
>
> opt.add_option('--enable-vxfs',
> help=("enable support for VxFS (default=no)"),
> action="store_true", dest='enable_vxfs', default=False)
>
> how does that control the stuff in source3/modules/wscript_build:
afair this is the missing link, source3/wscript, l.1638:
if conf.CONFIG_SET('HAVE_VXFS'):
default_shared_modules.extend(TO_LIST('vfs_vxfs'))
> bld.SAMBA3_MODULE('vfs_vxfs',
> subsystem='vfs',
> source='vfs_vxfs.c',
> init_function='',
> internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_vxfs'),
> enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_vxfs'))
Hth!
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
More information about the samba-technical
mailing list