[vlc-commits] configure: Fix activation of smb module on windows

Hugo Beauzée-Luyssen git at videolan.org
Tue Jan 31 10:12:48 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jan 25 10:43:03 2017 +0100| [c067d849763ba726b0f3a8a0fc34a9491ce91091] | committer: Hugo Beauzée-Luyssen

configure: Fix activation of smb module on windows

Always disable smbclient for winrt instead of relying on
--enable/--disable-smbclient
The PKG_ENABLE_MODULES_VLC fiddles with $enable_smbclient, making it
unreliable to use when activating/deactivating the module

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c067d849763ba726b0f3a8a0fc34a9491ce91091
---

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

diff --git a/configure.ac b/configure.ac
index 4649bdf..0917112 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1824,7 +1824,7 @@ dnl
 dnl  libsmbclient plugin
 dnl
 PKG_ENABLE_MODULES_VLC([SMBCLIENT], [smb], [smbclient], (SMB/CIFS support), [auto])
-AS_IF([test "${SYS}" = "mingw32" -a "${enable_smbclient}" != "no"], [ VLC_ADD_PLUGIN([smb]) ])
+AS_IF([test "${SYS}" = "mingw32" -a "${enable_winstore_app}" != "yes"], [ VLC_ADD_PLUGIN([smb]) ])
 
 dnl
 dnl  liBDSM access module



More information about the vlc-commits mailing list