Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

Commit

Permalink
fixed a problem where configure was complaining and aborted when
Browse files Browse the repository at this point in the history
--disable-ffmpeg option was specified
  • Loading branch information
jin_eld committed Jan 10, 2010
1 parent 7f82559 commit 7886483
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion configure.ac
Expand Up @@ -1570,7 +1570,13 @@ if test "x$FFMPEG_STATUS" = xyes; then
AC_SUBST(FFMPEG_LDFLAGS)
AC_SUBST(FFMPEG_LIBS)
else
if test "x$FFMPEG_OPTION_REQUESTED" = xyes; then
if (test "x$FFMPEG_OPTION_ENABLED" != xyes); then
AC_MSG_NOTICE("SETTING FFMPEG TO DISABLED!\n");
FFMPEG_STATUS=disabled
fi

if (test "x$FFMPEG_OPTION_REQUESTED" = xyes) &&
(test "x$FFMPEG_OPTION_ENABLED" = xyes); then
AC_MSG_ERROR(unable to configure ffmpeg support)
fi
fi
Expand Down

0 comments on commit 7886483

Please sign in to comment.