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

Remove recursion into modules/control/globalhotkeys/

parent afc1d022
......@@ -2989,8 +2989,6 @@ AS_IF([test "${enable_xcb}" != "no"], [
PKG_CHECK_MODULES(XCB_KEYSYMS, [xcb-keysyms >= 0.3.4], [
PKG_CHECK_MODULES(XPROTO, [xproto])
VLC_ADD_PLUGIN([globalhotkeys])
VLC_ADD_CFLAGS([globalhotkeys], [${XCB_KEYSYMS_CFLAGS} ${XCB_CFLAGS}])
VLC_ADD_LIBS([globalhotkeys], [${XCB_KEYSYMS_LIBS} ${XCB_LIBS}])
VLC_ADD_CFLAGS([xcb_window], [-DHAVE_XCB_KEYSYMS])
], [
AC_MSG_WARN([${XCB_KEYSYMS_PKG_ERRORS}. Hotkeys will not work.])
......@@ -4093,7 +4091,6 @@ AC_CONFIG_FILES([
modules/codec/wmafixed/Makefile
modules/control/Makefile
modules/control/dbus/Makefile
modules/control/globalhotkeys/Makefile
modules/demux/Makefile
modules/demux/asf/Makefile
modules/demux/avformat/Makefile
......
SUBDIRS = globalhotkeys dbus
SUBDIRS = dbus
SOURCES_dummy = dummy.c
SOURCES_gestures = gestures.c
SOURCES_netsync = netsync.c
......@@ -23,9 +23,19 @@ libvlc_LTLIBRARIES += \
libhotkeys_plugin.la \
liboldrc_plugin.la
if !HAVE_WIN32
libglobalhotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c
libglobalhotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
libglobalhotkeys_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
libvlc_LTLIBRARIES += \
$(LTLIBglobalhotkeys) \
libmotion_plugin.la
else
libglobalhotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
libglobalhotkeys_plugin_la_CFLAGS = $(AM_CFLAGS)
libglobalhotkeys_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += \
libglobalhotkeys_plugin.la \
libntservice_plugin.la
endif
if HAVE_WIN32
globalhotkeys_extra = win32.c
else
globalhotkeys_extra = xcb.c
endif
SOURCES_globalhotkeys = \
$(globalhotkeys_extra) \
$(NULL)
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