[vlc-devel] [PATCH] configure.ac: Honor --disable-smbclient, even on win32

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Apr 18 15:55:32 CEST 2016


---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index aab3002..14b9c91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1757,7 +1757,7 @@ dnl
 dnl  libsmbclient plugin
 dnl
 PKG_ENABLE_MODULES_VLC([SMBCLIENT], [smb], [smbclient], (SMB/CIFS support), [auto])
-AS_IF([test "${SYS}" = "mingw32"], [ VLC_ADD_PLUGIN([smb]) ])
+AS_IF([test "${SYS}" = "mingw32" -a "${enable_smbclient}" != "no"], [ VLC_ADD_PLUGIN([smb]) ])
 
 dnl
 dnl  liBDSM access module
-- 
2.8.0.rc3



More information about the vlc-devel mailing list