From 124205d368360052256f52639e93986ccf33f909 Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 9 Nov 2010 17:34:33 +0000 Subject: fix header check git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2721 b956fd51-792f-4845-bead-9b4dfca2ff2c --- mediaplugin/src/plugins/media/ffmpeg/configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mediaplugin/src/plugins/media') 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], -- cgit v1.2.3