summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-01-11 11:18:00 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-01-11 11:18:00 +0000
commit754cb2af91676b84d6d1445537f51117f3020bcf (patch)
treea93aa0e81d75cba062a53bd027033eef34e6ef4b /m4
parentabc9ca008ec8d7d3ac6eb3a0dbb3c2cea8906366 (diff)
downloadxine-lib-754cb2af91676b84d6d1445537f51117f3020bcf.tar.gz
xine-lib-754cb2af91676b84d6d1445537f51117f3020bcf.tar.bz2
resolve a Debian legal problem: xine-lib build should not depend on libdxr3-dev,
because it is not entirely free; therefore we include the em8300.h header in our tree, because this is the only thing we need Please note that the dxr3 plugins will now be built for everyone unless you specify --disable-dxr3. But this should be no problem, since they detect dxr3 presence at runtime. CVS patchset: 3866 CVS date: 2003/01/11 11:18:00
Diffstat (limited to 'm4')
-rw-r--r--m4/_xine.m449
1 files changed, 22 insertions, 27 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4
index 8ddc12f52..f67eea857 100644
--- a/m4/_xine.m4
+++ b/m4/_xine.m4
@@ -109,33 +109,28 @@ AC_DEFUN([AC_CHECK_DXR3],
[ --disable-dxr3 Do not build the DXR3/HW+ plugins],,
enable_dxr3=yes)
if test x"$enable_dxr3" = xyes; then
- AC_CHECK_HEADER(/usr/include/linux/em8300.h,
- have_dxr3=yes,
- [have_dxr3=no
- AC_MSG_RESULT([*** DXR3 support disabled due to missing em8300.h ***])])
- if test "$have_dxr3" = "yes"; then
- AC_MSG_RESULT([*** checking for a supported mpeg encoder])
- have_encoder=no
- have_libfame=yes
- AC_CHECK_LIB(fame, fame_open,
- [AC_CHECK_HEADER(fame.h, true, have_libfame=no)], have_libfame=no)
- if test "$have_libfame" = "yes"; then
- AC_DEFINE(HAVE_LIBFAME)
- have_encoder=yes
- fi
- have_librte=yes
- AC_CHECK_LIB(rte, rte_init,
- [AC_CHECK_HEADER(rte.h, true, have_librte=no)], have_librte=no)
- if test "$have_librte" = "yes"; then
- AC_DEFINE(HAVE_LIBRTE)
- AC_MSG_WARN([this will probably only work with rte version 0.4!])
- have_encoder=yes
- fi
- if test "$have_encoder" = "yes"; then
- AC_MSG_RESULT([*** found one or more mpeg encoders, will compile in on-the-fly encoding]);
- else
- AC_MSG_RESULT([*** no mpeg encoder found, will support mpeg playing only]);
- fi
+ have_dxr3=yes
+ AC_MSG_RESULT([*** checking for a supported mpeg encoder])
+ have_encoder=no
+ have_libfame=yes
+ AC_CHECK_LIB(fame, fame_open,
+ [AC_CHECK_HEADER(fame.h, true, have_libfame=no)], have_libfame=no)
+ if test "$have_libfame" = "yes"; then
+ AC_DEFINE(HAVE_LIBFAME)
+ have_encoder=yes
+ fi
+ have_librte=yes
+ AC_CHECK_LIB(rte, rte_init,
+ [AC_CHECK_HEADER(rte.h, true, have_librte=no)], have_librte=no)
+ if test "$have_librte" = "yes"; then
+ AC_DEFINE(HAVE_LIBRTE)
+ AC_MSG_WARN([this will probably only work with rte version 0.4!])
+ have_encoder=yes
+ fi
+ if test "$have_encoder" = "yes"; then
+ AC_MSG_RESULT([*** found one or more mpeg encoders, will compile in on-the-fly encoding]);
+ else
+ AC_MSG_RESULT([*** no mpeg encoder found, will support mpeg playing only]);
fi
else
AC_MSG_RESULT([DXR3 plugins will not be built.])