summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 02:53:23 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 02:53:23 +0100
commit344d6df02ac4d1ed1214ead4f3419405ee699177 (patch)
tree1ec6cc323364ad6a434252d6012cd2cb5745a43f
parentced1af6e9fc07b305c00ec76fd584c3654421ea7 (diff)
downloadxine-lib-344d6df02ac4d1ed1214ead4f3419405ee699177.tar.gz
xine-lib-344d6df02ac4d1ed1214ead4f3419405ee699177.tar.bz2
Add test for ffmpeg's include directory style to 1.2 autotools.
-rw-r--r--m4/decoders.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/decoders.m4 b/m4/decoders.m4
index 9dfe20148..b8f03e231 100644
--- a/m4/decoders.m4
+++ b/m4/decoders.m4
@@ -107,6 +107,10 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [
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([
*********************************************************************
xine-lib is configured with external ffmpeg.