Commit 0e274923 authored by Gildas Bazin's avatar Gildas Bazin

* modules/access/smb.c: new SMB/CIFS access module using libsmbclient.

parent 3e59c65d
...@@ -1409,6 +1409,20 @@ then ...@@ -1409,6 +1409,20 @@ then
fi fi
fi fi
dnl
dnl libsmbclient plugin
dnl
AC_ARG_ENABLE(smb,
[ --enable-smb smb input module (default enabled)])
if test "${enable_smb}" != "no"; then
AC_CHECK_HEADERS(libsmbclient.h,
[ VLC_ADD_PLUGINS([access_smb])
VLC_ADD_LDFLAGS([access_smb],[-lsmbclient]) ],
[ if test -n "${enable_smb}"; then
AC_MSG_ERROR([cannot find libsmbclient headers])
fi ])
fi
dnl dnl
dnl libdvbpsi ts demux/mux dnl libdvbpsi ts demux/mux
dnl dnl
......
...@@ -4,6 +4,7 @@ SOURCES_access_udp = udp.c ...@@ -4,6 +4,7 @@ SOURCES_access_udp = udp.c
SOURCES_access_tcp = tcp.c SOURCES_access_tcp = tcp.c
SOURCES_access_http = http.c SOURCES_access_http = http.c
SOURCES_access_ftp = ftp.c SOURCES_access_ftp = ftp.c
SOURCES_access_smb = smb.c
SOURCES_dvdnav = dvdnav.c SOURCES_dvdnav = dvdnav.c
SOURCES_dvdread = dvdread.c SOURCES_dvdread = dvdread.c
SOURCES_slp = slp.c SOURCES_slp = slp.c
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment