s4:torture: add a test-suite for VSS
[bbaumbach/samba-autobuild/.git] / examples / fuse / wscript
1 #!/usr/bin/env python
2
3 def configure(conf):
4     # Check for fuse support
5     if conf.CHECK_CODE('''
6                        #define FUSE_USE_VERSION 26
7                        #define _FILE_OFFSET_BITS 64
8                        #include "fuse/fuse_lowlevel.h"
9                        int main(void) { return 0; }
10                        ''', 'HAVE_FUSE_FUSE_LOWLEVEL_H',
11                        addmain=False,
12                        execute=False) and conf.CHECK_FUNCS_IN('fuse_mount',
13                                                               'fuse'):
14            conf.DEFINE('HAVE_FUSE', 1)