summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-03-22 09:30:05 +0100
committerVolker Lendecke <vl@samba.org>2013-04-03 09:53:08 +0200
commit0d75c902254c6e27964c631459ef8e9b379b77fc (patch)
tree24dea81609e79a94b60b38197798059aa34992e5 /source3/modules/wscript_build
parent821171e422133d64e7c07b4d610984c33cd23244 (diff)
downloadsamba-0d75c902254c6e27964c631459ef8e9b379b77fc.tar.gz
samba-0d75c902254c6e27964c631459ef8e9b379b77fc.tar.bz2
samba-0d75c902254c6e27964c631459ef8e9b379b77fc.zip
s3:modules: fix the build of vfs_notify_fam (bug #9545)
This adds the --with-fam option and configure checks. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 8f08d52c03..6726ac309b 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -316,9 +316,13 @@ bld.SAMBA3_MODULE('vfs_gpfs',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
+vfs_notify_fam_deps='samba-util '
+if bld.CONFIG_SET('SAMBA_FAM_LIBS'):
+ vfs_notify_fam_deps += bld.CONFIG_GET('SAMBA_FAM_LIBS')
bld.SAMBA3_MODULE('vfs_notify_fam',
subsystem='vfs',
source=VFS_NOTIFY_FAM_SRC,
+ deps=vfs_notify_fam_deps,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))