1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/examples/fuse/wscript
Volker Lendecke 3b97211d18 examples: Add smb2mount
This is an incomplete playground to add a fuse client based on
the Samba-internal libsmb interfaces.

There's a few fuse smb clients out there, but they all suffer from
Samba not exporting the async internal libsmb interfaces.

We don't export those with an API, because we believe we need the ability
to mess with those interfaces. This is an attempt to create a fully
asynchronous user-space fuse client file system that might make it
easier to mess with fancy SMB features than it would be possible in
a kernel client.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
2016-10-14 21:45:08 +02:00

15 lines
591 B
Python

#!/usr/bin/env python
def configure(conf):
# Check for fuse support
if conf.CHECK_CODE('''
#define FUSE_USE_VERSION 26
#define _FILE_OFFSET_BITS 64
#include "fuse/fuse_lowlevel.h"
int main(void) { return 0; }
''', 'HAVE_FUSE_FUSE_LOWLEVEL_H',
addmain=False,
execute=False) and conf.CHECK_FUNCS_IN('fuse_mount',
'fuse'):
conf.DEFINE('HAVE_FUSE', 1)