Ticket #1818: configure of samba VFA runs unconditionally.
Disable Smb VFS by default. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
родитель
eb7a91c51c
Коммит
ae50b78314
@ -2,7 +2,16 @@ dnl Samba support
|
|||||||
AC_DEFUN([AC_MC_VFS_SMB],
|
AC_DEFUN([AC_MC_VFS_SMB],
|
||||||
[
|
[
|
||||||
AC_ARG_ENABLE([vfs-smb],
|
AC_ARG_ENABLE([vfs-smb],
|
||||||
AC_HELP_STRING([--enable-vfs-smb], [Support for SMB filesystem [[no]]]))
|
AC_HELP_STRING([--enable-vfs-smb], [Support for SMB filesystem [[no]]]),
|
||||||
|
[
|
||||||
|
if test "x$enableval" = "xno"; then
|
||||||
|
enable_vfs_smb=no
|
||||||
|
else
|
||||||
|
enable_vfs_smb=yes
|
||||||
|
fi
|
||||||
|
],
|
||||||
|
[enable_vfs_smb=no])
|
||||||
|
|
||||||
if test "$enable_vfs" != "no" -a x"$enable_vfs_smb" != x"no"; then
|
if test "$enable_vfs" != "no" -a x"$enable_vfs_smb" != x"no"; then
|
||||||
enable_vfs_smb="yes"
|
enable_vfs_smb="yes"
|
||||||
AC_MC_VFS_ADDNAME([smb])
|
AC_MC_VFS_ADDNAME([smb])
|
||||||
@ -36,11 +45,10 @@ AC_DEFUN([AC_MC_VFS_SMB],
|
|||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
AC_SUBST(configdir)
|
AC_SUBST(configdir)
|
||||||
AC_SUBST(codepagedir)
|
AC_SUBST(codepagedir)
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS([lib/vfs/mc-vfs/samba])
|
AC_CONFIG_SUBDIRS([lib/vfs/mc-vfs/samba])
|
||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_VFS_SMB], [test x"$enable_vfs_smb" = x"yes"])
|
AM_CONDITIONAL([ENABLE_VFS_SMB], [test x"$enable_vfs_smb" = x"yes"])
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user