summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-06-27 15:31:35 +0200
committerJeremy Allison <jra@samba.org>2014-06-30 19:25:15 +0200
commit9261f7c6a0caae171eab5a499bae4b1f54c3a452 (patch)
treec1c26ec8f71fe7ef6e87993f87f4e3622a1cfe57 /source3/wscript
parent654ca0590aa410a7a889003f4bc219f7193a7447 (diff)
downloadsamba-9261f7c6a0caae171eab5a499bae4b1f54c3a452.tar.gz
samba-9261f7c6a0caae171eab5a499bae4b1f54c3a452.tar.xz
samba-9261f7c6a0caae171eab5a499bae4b1f54c3a452.zip
vfs: add vfs_snapper module
Provides an interface for accessing snapshots exposed by Snapper. The module communicates with snapperd on the local machine using the D-Bus interface. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 6e76c86ac3..6bf2d3b082 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1784,6 +1784,12 @@ main() {
conf.SET_TARGET_TYPE('gfapi', 'EMPTY')
conf.undefine('HAVE_GLUSTERFS')
+ if conf.check_cfg(package='dbus-1', args='--cflags --libs',
+ msg='Checking for dbus', uselib_store="DBUS-1"):
+ if (conf.CHECK_HEADERS('dbus/dbus.h', lib='dbus-1')
+ and conf.CHECK_LIB('dbus-1', shlib=True)):
+ conf.DEFINE('HAVE_DBUS', '1')
+
conf.env.build_regedit = False
if not Options.options.with_regedit == False:
conf.PROCESS_SEPARATE_RULE('system_ncurses')
@@ -1887,6 +1893,9 @@ main() {
if conf.CONFIG_SET('HAVE_GLUSTERFS'):
default_shared_modules.extend(TO_LIST('vfs_glusterfs'))
+ if conf.CONFIG_SET('HAVE_DBUS'):
+ default_shared_modules.extend(TO_LIST('vfs_snapper'))
+
explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',')
explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',')