aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-10-07 13:31:01 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-07 13:31:01 (GMT)
commit0e9e80c1e28f6e3c47f5d9be4a50c07220006437 (patch)
tree3cc88d795a0155e33e002e4bb965e7fb74fe87d9
parentc5ebf2d6bd648d078d48601f47015f8393b579d6 (diff)
Add dvb-apps to the building systemHEADmedia-utils
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--Makefile.in9
-rw-r--r--configure.in10
2 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index d38f9e7..1345df5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,8 +2,9 @@ CC = @CC@
CXX = @CXX@
V4L_UTILS_VERSION = @V4L_UTILS_VERSION@
CFLAGS = @CFLAGS@
-WITH_LIBV4 = @WITH_LIBV4L@
+WITH_LIBV4L = @WITH_LIBV4L@
WITH_V4LUTILS = @WITH_V4LUTILS@
+WITH_DVBAPPS = @WITH_DVBAPPS@
LIBV4L_ARGS=
ifeq ($(WITH_LIBV4L),no)
@@ -23,6 +24,9 @@ all:
ifeq ($(WITH_V4LUTILS),yes)
$(MAKE) -C utils $(LIBV4L_ARGS) $@
endif
+ ifeq ($(WITH_DVBAPPS),yes)
+ $(MAKE) -C dvb-apps $@
+ endif
install:
ifeq ($(WITH_LIBV4L),yes)
@@ -31,6 +35,9 @@ install:
ifeq ($(WITH_V4LUTILS),yes)
$(MAKE) -C utils $@
endif
+ ifeq ($(WITH_DVBAPPS),yes)
+ $(MAKE) -C dvb-apps $@
+ endif
sync-with-kernel:
@if [ ! -f $(KERNEL_DIR)/include/linux/videodev2.h -o \
diff --git a/configure.in b/configure.in
index 0f9a058..d65a4cf 100644
--- a/configure.in
+++ b/configure.in
@@ -31,11 +31,21 @@ AC_ARG_ENABLE(v4l-utils,
[WITH_V4LUTILS="yes"]
)
+AC_ARG_ENABLE(dvb-apps,
+ [ --disable-dvb-apps disable dvb-apps compilation],
+ [case "${enableval}" in
+ yes | no ) WITH_V4LUTILS="${enableval}" ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-ctemplate) ;;
+ esac],
+ [WITH_DVBAPPS="yes"]
+)
+
dnl ---------------------------------------------------------------------
dnl Substitute vars
AC_SUBST(V4L_UTILS_VERSION)
AC_SUBST(WITH_LIBV4L)
AC_SUBST(WITH_V4LUTILS)
+AC_SUBST(WITH_DVBAPPS)
dnl ---------------------------------------------------------------------
dnl read Makefile.in and write Makefile

Privacy Policy