summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 02:45:44 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 02:45:44 +0100
commitfb54f247855376800b65585e5868cd4d2062c0a2 (patch)
tree5c15377efa4fa510043d7001a8cbd2f5ded5a4ca /configure.ac
parent2e5c9c79a47efe0df60aaea17569ea9f32d347a6 (diff)
downloadxine-lib-fb54f247855376800b65585e5868cd4d2062c0a2.tar.gz
xine-lib-fb54f247855376800b65585e5868cd4d2062c0a2.tar.bz2
Support the new FFmpeg include layout. Now the same include directive should work for both internal and external FFmpeg (with new layout).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 90a5f1b80..0ecd5ab75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -350,6 +350,10 @@ if test "x$with_external_ffmpeg" = "xyes"; then
AC_SUBST([FFMPEG_POSTPROC_CFLAGS])
AC_SUBST([FFMPEG_POSTPROC_LIBS])
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([
*********************************************************************