From 79ee6c43378c18768de60ef6380c7bb0eacd7982 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 28 Jan 2009 23:17:02 +0000 Subject: [PATCH] Fix enabling/disabling of FFMPEG based on --without-ffmpeg / AC_AGI_COMPILE. Originally committed to SVN as r2708. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 1bcb9fc42..708b6afe7 100644 --- a/configure.in +++ b/configure.in @@ -578,12 +578,12 @@ int main (void) { } ]) fi -if test "$agi_cv_with_ffmpeg" = "no" && test "$with_ffmpeg" = "yes"; then +if test "$agi_cv_with_ffmpeg" = "no" && test "$with_ffmpeg" != "no"; then AC_MSG_WARN([FFMPEG detected, but it doesn't work...]) with_ffmpeg="no" fi -if test "$agi_cv_with_ffmpeg" = "yes" && test "$with_ffmpeg" = "yes"; then +if test "$agi_cv_with_ffmpeg" = "yes" && test "$with_ffmpeg" != "no"; then AC_SUBST(LIBAVFORMAT_LIBS) AC_SUBST(LIBAVFORMAT_CFLAGS) AC_SUBST(LIBAVCODEC_LIBS)