path: root/configure.ac
diff options
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-02 14:40:38 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-06 12:46:43 -0300
commitdbac3899f905b0f6469184c426ad348a3356f16f (patch)
tree13dd491a6702ef5660c953f5669ae3302e1bedf1 /configure.ac
parent83908a614fd1b15ffb491933e0407b726229266e (diff)
libdvbv5: add support for using a remote DVB device
Add a dvbv5-daemon to receive remote DVB device access requests, and the corresponding logic at the library, via dvb-dev-remote.c. Please notice that only the libdvbfunctions that start with "dvb_dev" are supported, with the exception of the dvb_dev_scan(). This is not enough to even tune a device, but support for the missing parts will be added on further patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'configure.ac')
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 1b29a1f6..61d0a27c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -400,6 +400,8 @@ AC_ARG_ENABLE(gconv,
AM_CONDITIONAL([WITH_LIBDVBV5], [test x$enable_libdvbv5 != xno -a x$have_libudev = xyes])
+AM_CONDITIONAL([WITH_DVBV5_REMOTE], [test x$enable_libdvbv5 != xno -a x$have_libudev = xyes -a x$have_pthread = xyes])
AM_CONDITIONAL([WITH_LIBV4L], [test x$enable_libv4l != xno])
AM_CONDITIONAL([WITH_V4LUTILS], [test x$enable_v4l_utils != xno -a x$linux_os = xyes])
AM_CONDITIONAL([WITH_QV4L2], [test x${qt_pkgconfig} = xtrue -a x$enable_qv4l2 != xno])
@@ -424,12 +426,10 @@ fi
CPPFLAGS="-I\$(top_srcdir)/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE $CPPFLAGS"
-dnl ---------------------------------------------------------------------
-dnl compile time options summary
+ AC_DEFINE([HAVE_DVBV5_REMOTE], [1], [Usage of DVBv5 remote enabled])],
+ [USE_DVBV5_REMOTE="no"])
AM_COND_IF([WITH_QV4L2], [USE_QV4L2="yes"], [USE_QV4L2="no"])
@@ -466,6 +466,7 @@ compile time options summary
v4l_plugins : $USE_V4L_PLUGINS
v4l_wrappers : $USE_V4L_WRAPPERS
libdvbv5 : $USE_LIBDVBV5
+ dvbv5-daemon : $USE_DVBV5_REMOTE
v4lutils : $USE_V4LUTILS
qv4l2 : $USE_QV4L2
v4l2-ctrl : $USE_V4L2_CTL

Privacy Policy