From 44377e187a039280579c455ad2c6f26b50a47685 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 22 Apr 2006 00:20:19 +0000 Subject: [PATCH] Fix "--with-ffmpeg" causes ffmpeg to be disabled. (This was "$enableval" before. The "enable" vs. "with" distinction in autoconf is confusing and not useful ...) --- stepmania/autoconf/m4/video.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/autoconf/m4/video.m4 b/stepmania/autoconf/m4/video.m4 index 5ea03ab0ff..4e2e5cbfc6 100644 --- a/stepmania/autoconf/m4/video.m4 +++ b/stepmania/autoconf/m4/video.m4 @@ -1,5 +1,5 @@ AC_DEFUN([SM_VIDEO], [ -AC_ARG_WITH(ffmpeg, AC_HELP_STRING([--without-ffmpeg], [Disable ffmpeg support]), with_ffmpeg=no, with_ffmpeg=yes) +AC_ARG_WITH(ffmpeg, AC_HELP_STRING([--without-ffmpeg], [Disable ffmpeg support]), with_ffmpeg=$withval, with_ffmpeg=yes) if test "$with_ffmpeg" = "yes"; then AC_SEARCH_LIBS(avcodec_init, [avcodec], have_libavcodec=yes, have_libavcodec=no)