summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-05 00:29:11 +0000
committerDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-05 00:29:11 +0000
commitcf2bad949233fd52d6828672e413014e7f8117f9 (patch)
treebd0b7fee8561df2240d72b41e55926ea4a57311b /configure.ac
parent5daec672ada5fbe50a7ff3ab895e8ad5b616d8b7 (diff)
downloadgst-plugins-bad-cf2bad949233fd52d6828672e413014e7f8117f9.tar.gz
gst-plugins-bad-cf2bad949233fd52d6828672e413014e7f8117f9.tar.bz2
gst-plugins-bad-cf2bad949233fd52d6828672e413014e7f8117f9.zip
drop mpeg2dec 0.2.1 support in favor of 0.3.0.
Original commit message from CVS: drop mpeg2dec 0.2.1 support in favor of 0.3.0. keeping old code around in cvs for a while just in case someone needs it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 18 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bb63a3d7..6e9958ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -690,7 +690,24 @@ GST_CHECK_FEATURE(MJPEGTOOLS, [mjpegtools], jpegmmxenc jpegmmxdec, [
dnl *** mpeg2dec ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MPEG2DEC, true)
GST_CHECK_FEATURE(MPEG2DEC, [mpeg2dec], mpeg2dec, [
- AC_CHECK_MPEG2DEC(HAVE_MPEG2DEC=yes, HAVE_MPEG2DEC=no)
+ PKG_CHECK_MODULES(LIBMPEG2, libmpeg2 >= 0.3.0,
+ HAVE_LIBMPEG2="yes", HAVE_LIBMPEG2="no")
+ AC_SUBST(LIBMPEG2_CFLAGS)
+ AC_SUBST(LIBMPEG2_LIBS)
+
+ PKG_CHECK_MODULES(LIBCPUACCEL, libcpuaccel >= 0.3.0,
+ HAVE_LIBCPUACCEL="yes", HAVE_LIBCPUACCEL="no")
+ AC_SUBST(LIBCPUACCEL_CFLAGS)
+ AC_SUBST(LIBCPUACCEL_LIBS)
+
+ HAVE_MPEG2DEC="no"
+ if test x$HAVE_LIBMPEG2 = xyes -a x$HAVE_LIBCPUACCEL = xyes; then
+ HAVE_MPEG2DEC="yes"
+ MPEG2DEC_CFLAGS="$LIBMPEG2_CFLAGS $LIBCPUACCEL_CFLAGS"
+ MPEG2DEC_LIBS="$LIBMPEG2_LIBS $LIBCPUACCEL_LIBS"
+ AC_SUBST(MPEG2DEC_CFLAGS)
+ AC_SUBST(MPEG2DEC_LIBS)
+ fi
])
dnl *** openquicktime ***