From: Diego 'F. P. <fla...@gm...> - 2008-03-01 02:10:07
|
# HG changeset patch # User Diego 'Flameeyes' Pettenò <fla...@gm...> # Date 1204336403 -3600 # Node ID 071eaef26a6cbe18566c7f95fdd35156e06a022f # Parent 19e9294ad0d2b41c6de8ec46ade018eb8a311733 Add test for ffmpeg's include directory style to 1.2 autotools. diff -r 071eaef26a6cbe18566c7f95fdd35156e06a022f -r 19e9294ad0d2b41c6de8ec46ade018eb8a311733 m4/decoders.m4 --- a/m4/decoders.m4 Sat Mar 01 02:53:23 2008 +0100 +++ b/m4/decoders.m4 Sat Mar 01 02:52:41 2008 +0100 @@ -106,6 +106,10 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [ if test x"$with_external_ffmpeg" != x"no"; then PKG_CHECK_MODULES([FFMPEG_POSTPROC], [libpostproc]) AC_DEFINE([HAVE_FFMPEG], 1, [Define this if you have ffmpeg library]) + + dnl Check presence of ffmpeg/avutil.h to see if it's old or new + dnl style for headers. The new style would be preferred actually... + AC_CHECK_HEADER([ffmpeg/avutil.h]) AC_MSG_NOTICE([ ********************************************************************* |