Commit 888c45ec authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB: configure rules

parent c5c16e1b
...@@ -4121,6 +4121,29 @@ dnl End of Xlib tests ...@@ -4121,6 +4121,29 @@ dnl End of Xlib tests
CPPFLAGS="${CPPFLAGS_save}" CPPFLAGS="${CPPFLAGS_save}"
dnl
dnl X C Bindings modules
dnl (work in progress)
dnl
AC_ARG_ENABLE(xcb,
[ --enable-xcb X C Bindings work-in-progress (default disabled)],
,[enable_xcb="no"])
AS_IF([test "${enable_xcb}" != "no"], [
PKG_CHECK_MODULES(XPROTO, [xproto])
dnl libxcb
PKG_CHECK_MODULES(XCB, [xcb])
PKG_CHECK_MODULES(XCB_SHM, [xcb-shm])
dnl xcb-utils
PKG_CHECK_MODULES(XCB_AUX, [xcb-aux])
PKG_CHECK_MODULES(XCB_IMAGE, [xcb-image])
PKG_CHECK_MODULES(XCB_KEYSYMS, [xcb-keysyms])
VLC_ADD_PLUGIN([xcb])
VLC_ADD_PLUGIN([xcb_window])
])
dnl dnl
dnl OpenGL module dnl OpenGL module
dnl (enabled by default except on beos) dnl (enabled by default except on beos)
......
...@@ -20,13 +20,6 @@ SOURCES_directfb = directfb.c ...@@ -20,13 +20,6 @@ SOURCES_directfb = directfb.c
SOURCES_vmem = vmem.c SOURCES_vmem = vmem.c
SOURCES_yuv = yuv.c SOURCES_yuv = yuv.c
# TODO: move to configure.ac once/if xcb plugin gets more functional
XCB_LIBS = -lxcb
XCB_SHM_LIBS = -lxcb-shm
XCB_AUX_LIBS = -lxcb-aux
XCB_IMAGE_LIBS = -lxcb-image
XCB_KEYSYMS_LIBS = -lxcb-keysyms
libxcb_plugin_la_SOURCES = \ libxcb_plugin_la_SOURCES = \
xcb/xcb_vlc.h \ xcb/xcb_vlc.h \
xcb/xcb.c \ xcb/xcb.c \
...@@ -51,6 +44,7 @@ libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \ ...@@ -51,6 +44,7 @@ libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
libxcb_window_plugin_la_DEPENDENCIES = libxcb_window_plugin_la_DEPENDENCIES =
EXTRA_LTLIBRARIES += libxcb_plugin.la libxcb_window_plugin.la EXTRA_LTLIBRARIES += libxcb_plugin.la libxcb_window_plugin.la
libvlc_LTLIBRARIES += $(LTLIBxcb) $(LTLIBxcb_window)
# XXX: do we need yet another modules/ subdirectory? # XXX: do we need yet another modules/ subdirectory?
libdrawable_plugin_la_SOURCES = drawable.c libdrawable_plugin_la_SOURCES = drawable.c
......
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