summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Hellström <totte67@users.sourceforge.net>2005-04-09 11:22:14 +0000
committerThomas Hellström <totte67@users.sourceforge.net>2005-04-09 11:22:14 +0000
commit18216a2fe0871d528f941ba4e5feeb8f9472523e (patch)
tree53f71e16c2ee96cbf69efd640fdd982149de5693 /configure.ac
parent637785d626edb3591d95e0127597ca0ce6ddee41 (diff)
downloadxine-lib-18216a2fe0871d528f941ba4e5feeb8f9472523e.tar.gz
xine-lib-18216a2fe0871d528f941ba4e5feeb8f9472523e.tar.bz2
**BUGFIX**
Multiple slice-per-rows (HDTV) fixes in the libmpeg2 code, particularly regarding VLD XvMC. Cleaned up hardware acceleration hooks in libmpeg2. Fixed X include path searching while configure detects XvMC support. CVS patchset: 7449 CVS date: 2005/04/09 11:22:14
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 95bc5f88e..0d394a540 100644
--- a/configure.ac
+++ b/configure.ac
@@ -567,6 +567,8 @@ AC_ARG_WITH(xxmc-lib, AC_HELP_STRING([--with-xxmc-lib=XXXX], [The name of the Xv
libXXXX.so for the xxmc plugin.]),xxmc_stub="$withval",
xxmc_stub="XvMCW")
saved_libs="$LIBS"
+saved_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS -I$x_includes"
XXMC_LIB="-L$xxmc_path -l$xxmc_stub"
AC_MSG_CHECKING(whether to enable the xxmc plugin with vld extensions)
AC_MSG_RESULT()
@@ -589,6 +591,7 @@ else
ac_have_xxmc="no",
fi
fi
+
if test x$ac_have_xxmc = "xyes"; then
AC_CHECK_HEADERS($x_includes/X11/extensions/vldXvMC.h,
[ac_have_vldxvmc_h="yes"],
@@ -682,7 +685,7 @@ if test x$ac_have_xvmc = "xyes"; then
else
AC_MSG_RESULT([*** Disabling old xvmc plugin due to above errors.])
fi
-
+CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_libs"
fi
AM_CONDITIONAL(HAVE_XVMC, test x$ac_have_xvmc = "xyes")