Commit 088684bb authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Add KVA video output module for OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent fa0e429b
...@@ -3427,6 +3427,29 @@ dnl libcaca plugin ...@@ -3427,6 +3427,29 @@ dnl libcaca plugin
dnl dnl
PKG_ENABLE_MODULES_VLC([CACA], [], [caca >= 0.99.beta14], [libcaca output],[auto]) PKG_ENABLE_MODULES_VLC([CACA], [], [caca >= 0.99.beta14], [libcaca output],[auto])
dnl
dnl OS/2 KVA plugin
dnl
AC_ARG_ENABLE(kva,
[AS_HELP_STRING([--enable-kva],
[support the K Video Accelerator KVA (default enabled on OS/2)])],, [
AS_IF([test "$SYS" = "os2"], [
enable_kva="yes"
])
])
have_kva="no"
KVA_LIBS=""
AS_IF([test "$enable_kva" != "no"], [
AC_CHECK_HEADERS([kva.h], [
have_kva="yes"
AC_CHECK_LIB(kva, main, [
KVA_LIBS="-lkva"
])
])
])
AC_SUBST(KVA_LIBS)
AM_CONDITIONAL([HAVE_KVA], [test "${have_kva}" = "yes"])
dnl dnl
dnl Audio plugins dnl Audio plugins
dnl dnl
......
...@@ -113,6 +113,14 @@ if HAVE_OS2 ...@@ -113,6 +113,14 @@ if HAVE_OS2
libvlc_LTLIBRARIES += libdrawable_plugin.la libvlc_LTLIBRARIES += libdrawable_plugin.la
endif endif
libkva_plugin_la_SOURCES = kva.c
libkva_plugin_la_CFLAGS = $(AM_CFLAGS)
libkva_plugin_la_LIBADD = $(AM_LIBADD) $(KVA_LIBS)
libkva_plugin_la_DEPENDENCIES =
if HAVE_KVA
libvlc_LTLIBRARIES += libkva_plugin.la
endif
### EGL ### ### EGL ###
libegl_plugin_la_SOURCES = egl.c libegl_plugin_la_SOURCES = egl.c
libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS) libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
......
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