diff -Naur autoconf.orig/m4/video.m4 autoconf/m4/video.m4 --- autoconf.orig/m4/video.m4 2007-08-22 08:21:01.000000000 -0400 +++ autoconf/m4/video.m4 2007-08-22 08:24:28.000000000 -0400 @@ -23,42 +23,6 @@ AC_SEARCH_LIBS(avcodec_init, [avcodec], have_libavcodec=yes, have_libavcodec=no) AC_SEARCH_LIBS(guess_format, [avformat], have_libavformat=yes, have_libavformat=no) fi - -if test "$have_libavcodec" = "yes"; then - AC_MSG_CHECKING([for matching libavcodec headers and libs]) - AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include - int main() - { - return ( LIBAVCODEC_VERSION_INT == avcodec_version() && - LIBAVCODEC_BUILD == avcodec_build() ) ? 0:1; - } - ]])],[],[have_libavcodec=no],[]) - AC_MSG_RESULT($have_libavcodec) - if test "$have_libavcodec" = "yes"; then - AC_MSG_CHECKING([libavcodec revision]) - AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include - int main() - { - return ( LIBAVCODEC_VERSION_INT == 0x332800 ) ? 0:1; - } - ]])],[],[have_libavcodec=no],[]) - AC_MSG_RESULT($have_libavcodec) - fi -fi - -if test "$have_libavformat" = "yes"; then - AC_MSG_CHECKING([libavformat revision]) - AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include - int main() - { - return ( LIBAVFORMAT_VERSION_INT == 0x330B00 )? 0:1; - } - ]])],[],[have_libavformat=no],[]) - AC_MSG_RESULT($have_libavformat) -fi fi have_ffmpeg=no