From 5b8b72b06785aa7dd86ed9cace766316fba6e9b3 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Fri, 23 Jul 2010 11:49:47 +0400 Subject: [PATCH] Run samba configure script if --enable-vfs-smb option is used. Signed-off-by: Andrew Borodin --- m4.include/vfs/mc-vfs-samba.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m4.include/vfs/mc-vfs-samba.m4 b/m4.include/vfs/mc-vfs-samba.m4 index a6a84ebfe..9eeb1274d 100644 --- a/m4.include/vfs/mc-vfs-samba.m4 +++ b/m4.include/vfs/mc-vfs-samba.m4 @@ -18,7 +18,9 @@ AC_DEFUN([AC_MC_VFS_SMB], AC_DEFINE([ENABLE_VFS_SMB], [1], [Define to enable VFS over SMB]) fi - AC_CONFIG_SUBDIRS([lib/vfs/mc-vfs/samba]) + if test "$enable_vfs_smb" = "yes"; then + AC_CONFIG_SUBDIRS([lib/vfs/mc-vfs/samba]) + fi AM_CONDITIONAL([ENABLE_VFS_SMB], [test x"$enable_vfs_smb" = x"yes"]) ])