1 AC_DEFUN([AC_MC_VFS_SAMBA],
9 [ --with-samba Support smb virtual file system [[no]]],
10 [if test x"$withval" != x"no"; then
11 AC_DEFINE(ENABLE_VFS_SMB, 1, [Define to enable VFS over SMB])
12 vfs_flags="$vfs_flags, smbfs"
17 if test -n "$use_smbfs"; then
18 #################################################
19 # set Samba configuration directory location
21 AC_ARG_WITH(configdir,
22 [ --with-configdir=DIR Where the Samba configuration files are [[/etc]]],
26 # Just in case anybody does it
28 AC_MSG_WARN([--with-configdir called without argument - will use default])
37 AC_ARG_WITH(codepagedir,
38 [ --with-codepagedir=DIR Where the Samba codepage files are],
42 # Just in case anybody does it
44 AC_MSG_WARN([--with-codepagedir called without argument - will use default])