]> git.pld-linux.org Git - packages/samba.git/blame - samba-fam.patch
- samba-tool from common package requires python-samba4
[packages/samba.git] / samba-fam.patch
CommitLineData
6c51cdd9
JR
1diff -ur samba-4.0.3/source3/modules/wscript_build samba-4.0.3-fam/source3/modules/wscript_build
2--- samba-4.0.3/source3/modules/wscript_build 2012-11-13 09:03:38.000000000 +0100
3+++ samba-4.0.3-fam/source3/modules/wscript_build 2013-03-05 12:34:36.152060557 +0100
4@@ -321,6 +321,7 @@
5 bld.SAMBA3_MODULE('vfs_notify_fam',
6 subsystem='vfs',
7 source=VFS_NOTIFY_FAM_SRC,
8+ deps='fam',
9 init_function='',
10 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
11 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))
12diff -ur samba-4.0.3/source3/wscript samba-4.0.3-fam/source3/wscript
13--- samba-4.0.3/source3/wscript 2013-02-05 13:25:26.000000000 +0100
14+++ samba-4.0.3-fam/source3/wscript 2013-03-05 13:04:20.084360657 +0100
15@@ -870,6 +870,12 @@
16
17 seteuid = False
18
19+ conf.CHECK_HEADERS('fam.h')
20+ if not conf.CONFIG_SET('HAVE_FAM_H'):
21+ Logs.warn("fam.h not found")
22+ if conf.CHECK_FUNCS_IN('FAMClose', 'fam'):
23+ conf.DEFINE('HAVE_FAM', 1)
24+
25 #
26 # Ensure we select the correct set of system calls on Linux.
27 #
28@@ -1742,6 +1748,9 @@
29 if conf.CONFIG_SET('HAVE_GPFS'):
30 default_shared_modules.extend(TO_LIST('vfs_gpfs'))
31
32+ if conf.CONFIG_SET('HAVE_FAM'):
33+ default_shared_modules.extend(TO_LIST('vfs_notify_fam'))
34+
35 explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',')
36 explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',')
37
This page took 0.115332 seconds and 4 git commands to generate.