summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
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.])