aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-09 17:34:33 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-09 17:34:33 +0000
commit124205d368360052256f52639e93986ccf33f909 (patch)
treec2f549238128f0821c105f11b7dc4db5f5f2dbb8
parent1c700b446719e066cd4a66eedbadaf93a97c046e (diff)
downloadusdx-124205d368360052256f52639e93986ccf33f909.tar.gz
usdx-124205d368360052256f52639e93986ccf33f909.tar.xz
usdx-124205d368360052256f52639e93986ccf33f909.zip
fix header check
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2721 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--mediaplugin/src/plugins/media/ffmpeg/configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/mediaplugin/src/plugins/media/ffmpeg/configure.ac b/mediaplugin/src/plugins/media/ffmpeg/configure.ac
index ae5b9508..a1768b5c 100644
--- a/mediaplugin/src/plugins/media/ffmpeg/configure.ac
+++ b/mediaplugin/src/plugins/media/ffmpeg/configure.ac
@@ -82,10 +82,10 @@ AC_DEFUN([ADD_DEFINE],
# find FFmpeg
PKG_CHECK_MODULES([ffmpeg], [libavcodec libavformat libavutil], [
CPPFLAGS="$ffmpeg_CFLAGS $CPPFLAGS"
- AC_CHECK_HEADERS(ffmpeg/avformat.h)
- if [[ HAVE_FFMPEG_AVFORMAT_H ]]; then
- ADD_DEFINE(HAVE_FFMPEG_INCLUDE_DIR)
- fi
+ AC_CHECK_HEADERS(ffmpeg/avformat.h, [
+ # old include layout
+ ADD_DEFINE(HAVE_FFMPEG_INCLUDE_DIR)
+ ])
])
# find FFMpeg's swscale lib (just if FFMpeg is compiled in GPL mode)
PKG_CHECK_MODULES([libswscale], [libswscale],