From 5254a0d8747c08ef38b0963c85485246b2b5a8e1 Mon Sep 17 00:00:00 2001 From: Eduard Hasenleithner Date: Fri, 20 Jul 2001 17:33:56 +0000 Subject: New configure option for activating the dxr3 decoder plugin. Included the new src/dxr3 directory in the make dependency tree. CVS patchset: 313 CVS date: 2001/07/20 17:33:56 --- configure.in | 18 ++++++++++++++++++ src/Makefile.am | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index a93347880..6fa1f87fa 100644 --- a/configure.in +++ b/configure.in @@ -299,6 +299,23 @@ AM_CHECK_CDROM_IOCTLS(AC_DEFINE(HAVE_CDROM_IOCTLS), AC_MSG_RESULT(*** DVD and (S)VCD support will be disabled ***)) AM_CONDITIONAL(HAVE_CDROM_IOCTLS, test x"$have_cdrom_ioctls" = "xyes") +dnl +dnl dxr3 / hollywood plus card +dnl +AC_ARG_WITH(linux-path, + [ --with-linux-path=PATH Where the linux sources are located], + linux_path="$withval", linux_path="/usr/src/linux") + +AC_ARG_ENABLE(dxr3, + [ --enable-dxr3 Turn on DXR3/HW+ decoder support], + enable_dxr3=yes, enable_dxr3=no) + +if test x$enable_dxr3 = xyes; then + AC_CHECK_HEADER($linux_path/include/linux/em8300.h, have_dxr3=yes, + AC_MSG_ERROR(DXR3 headers not found)) +fi +AM_CONDITIONAL(HAVE_DXR3, test "x$have_dxr3" = xyes) + dnl dnl ip_mreqn dnl @@ -537,6 +554,7 @@ src/Makefile src/audio_out/Makefile src/video_out/Makefile src/demuxers/Makefile +src/dxr3/Makefile src/libmpeg2/Makefile src/libac3/Makefile src/libmpg123/Makefile diff --git a/src/Makefile.am b/src/Makefile.am index 966c5d896..e3d17ac45 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = audio_out video_out input libmpeg2 libspudec demuxers \ +SUBDIRS = audio_out video_out dxr3 input libmpeg2 libspudec demuxers \ libac3 libmpg123 libw32dll xine-engine debug: -- cgit v1.2.3