diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-11-09 17:34:33 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-11-09 17:34:33 +0000 |
commit | 124205d368360052256f52639e93986ccf33f909 (patch) | |
tree | c2f549238128f0821c105f11b7dc4db5f5f2dbb8 /mediaplugin/src | |
parent | 1c700b446719e066cd4a66eedbadaf93a97c046e (diff) | |
download | usdx-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
Diffstat (limited to '')
-rw-r--r-- | mediaplugin/src/plugins/media/ffmpeg/configure.ac | 8 |
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], |