diff --git a/acconfig.h b/acconfig.h index b79e6091b6..e6bfe8c852 100644 --- a/acconfig.h +++ b/acconfig.h @@ -30,6 +30,7 @@ #undef HAVE_VORBIS #undef HAVE_LIBJPEG #undef HAVE_NASM +#undef HAVE_MPEG2DEC #undef HAVE_ATOMIC_H diff --git a/configure.in b/configure.in index 262f3a877b..0344b85838 100644 --- a/configure.in +++ b/configure.in @@ -360,6 +360,11 @@ AC_MSG_CHECKING(Shout library) AC_CHECK_LIB(shout, shout_init_connection, HAVE_LIBSHOUT=yes, HAVE_LIBSHOUT=no, ) AC_CHECK_HEADER(shout/shout.h, :, HAVE_LIBSHOUT=no) +dnl Check for mpeg2dec +AC_MSG_CHECKING(mpeg2dec library) +AC_CHECK_LIB(mpeg2, mpeg2_init, HAVE_MPEG2DEC=yes, HAVE_MPEG2DEC=no, ) +AC_CHECK_HEADER(mpeg2dec/mpeg2.h, :, HAVE_MPEG2DEC=no) + dnl check if css-auth.c exists (FIXME) AC_MSG_CHECKING(DVD CSS code) @@ -591,6 +596,7 @@ AM_CONDITIONAL(HAVE_LIBLAME, test "x$HAVE_LIBLAME" = "xyes") AM_CONDITIONAL(HAVE_LIBSHOUT, test "x$HAVE_LIBSHOUT" = "xyes") AM_CONDITIONAL(HAVE_LIBESD, test "x$HAVE_LIBESD" = "xyes") AM_CONDITIONAL(HAVE_LIBASOUND, test "x$HAVE_LIBASOUND" = "xyes") +AM_CONDITIONAL(HAVE_MPEG2DEC, test "x$HAVE_MPEG2DEC" = "xyes") diff --git a/test/.gitignore b/test/.gitignore index 40244b01f8..537f355523 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -27,6 +27,7 @@ teardown buffer mp3parse mpeg2parse +mpeg2parse2 mp3play ac3parse ac3play