summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2006-10-10 15:47:49 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2006-10-10 15:47:49 +0000
commit808736b80536e76a04f75e961179bf4f79811eae (patch)
tree6196247ffe323c34c766397b5945a55ab61f35cb
parenteb54f03b279eb8bcdea1ff1c68c2e2392b6f35cc (diff)
downloadgst-plugins-bad-808736b80536e76a04f75e961179bf4f79811eae.tar.gz
gst-plugins-bad-808736b80536e76a04f75e961179bf4f79811eae.tar.bz2
gst-plugins-bad-808736b80536e76a04f75e961179bf4f79811eae.zip
Add dvb detection and allow dvbsrc to be built.
Original commit message from CVS: 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org> * configure.ac: * sys/Makefile.am: Add dvb detection and allow dvbsrc to be built.
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac8
-rw-r--r--sys/Makefile.am8
3 files changed, 21 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cf8031e7..2a4c744b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
+
+ * configure.ac:
+ * sys/Makefile.am:
+ Add dvb detection and allow dvbsrc to be built.
+
+2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* configure.ac:
* sys/Makefile.am:
diff --git a/configure.ac b/configure.ac
index 538380f3..05cfa300 100644
--- a/configure.ac
+++ b/configure.ac
@@ -701,6 +701,13 @@ GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [
AC_SUBST(WAVPACK_LIBS)
])
+dnl *** dvb ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_DVB, true)
+GST_CHECK_FEATURE(DVB, [DVB Source], dvb, [
+ AC_MSG_CHECKING([Checking for up to date dvb installation])
+ AC_CHECK_HEADER(linux/dvb/frontend.h, [HAVE_DVB="yes"], [HAVE_DVB="no"])
+])
+
else
dnl not building plugins with external dependencies,
@@ -729,6 +736,7 @@ AM_CONDITIONAL(USE_SWFDEC, false)
AM_CONDITIONAL(USE_THEORADEC, false)
AM_CONDITIONAL(USE_XVID, false)
AM_CONDITIONAL(USE_WAVPACK, false)
+AM_CONDITIONAL(USE_DVB, false)
fi dnl of EXT plugins
diff --git a/sys/Makefile.am b/sys/Makefile.am
index dc2bf848..3866499c 100644
--- a/sys/Makefile.am
+++ b/sys/Makefile.am
@@ -28,6 +28,12 @@ else
GL_DIR=
endif
-SUBDIRS = $(GL_DIR)
+if USE_DVB
+DVB_DIR=dvb
+else
+DVB_DIR=
+endif
+
+SUBDIRS = $(GL_DIR) $(DVB_DIR)
DIST_SUBDIRS = glsink dvb