Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
783ebff1
Commit
783ebff1
authored
Feb 26, 2013
by
Nicolas Chauvet
Committed by
Jean-Baptiste Kempf
Feb 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch smbclient detection to pkg-config
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
00192607
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
configure.ac
configure.ac
+1
-10
modules/access/Modules.am
modules/access/Modules.am
+2
-2
No files found.
configure.ac
View file @
783ebff1
...
@@ -1725,16 +1725,7 @@ PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv > 2.0]
...
@@ -1725,16 +1725,7 @@ PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv > 2.0]
dnl
dnl
dnl libsmbclient plugin
dnl libsmbclient plugin
dnl
dnl
AC_ARG_ENABLE(smb,
PKG_ENABLE_MODULES_VLC([SMBCLIENT], [access_smb], [smbclient], (SMB/CIFS support), [auto])
[AS_HELP_STRING([--disable-smb], [disable SMB/CIFS support (default auto)])])
if test "${enable_smb}" != "no"; then
AC_CHECK_HEADERS(libsmbclient.h,
[ VLC_ADD_PLUGIN([access_smb])
VLC_ADD_LIBS([access_smb],[-lsmbclient]) ],
[ if test -n "${enable_smb}"; then
AC_MSG_ERROR([cannot find libsmbclient headers])
fi ])
fi
dnl
dnl
...
...
modules/access/Modules.am
View file @
783ebff1
...
@@ -267,8 +267,8 @@ endif
...
@@ -267,8 +267,8 @@ endif
### Network streams ###
### Network streams ###
libaccess_smb_plugin_la_SOURCES = smb.c
libaccess_smb_plugin_la_SOURCES = smb.c
libaccess_smb_plugin_la_CFLAGS = $(AM_CFLAGS)
libaccess_smb_plugin_la_CFLAGS = $(AM_CFLAGS)
$(SMBCLIENT_CFLAGS)
libaccess_smb_plugin_la_LIBADD = $(AM_LIBADD) $(
LIBS_access_smb
)
libaccess_smb_plugin_la_LIBADD = $(AM_LIBADD) $(
SMBCLIENT_LIBS
)
if HAVE_WIN32
if HAVE_WIN32
libaccess_smb_plugin_la_LIBADD += -lmpr
libaccess_smb_plugin_la_LIBADD += -lmpr
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment