Fix disabling of ffmpeg
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
AC_DEFUN([SM_VIDEO], [
|
AC_DEFUN([SM_VIDEO], [
|
||||||
AC_ARG_WITH(ffmpeg, AC_HELP_STRING([--without-ffmpeg], [Disable ffmpeg support]), with_ffmpeg=$enableval, with_ffmpeg=yes)
|
AC_ARG_WITH(ffmpeg, AC_HELP_STRING([--without-ffmpeg], [Disable ffmpeg support]), with_ffmpeg=no, with_ffmpeg=yes)
|
||||||
|
|
||||||
if test "$with_ffmpeg" = "yes"; then
|
if test "$with_ffmpeg" = "yes"; then
|
||||||
AC_SEARCH_LIBS(avcodec_init, [avcodec], have_libavcodec=yes, have_libavcodec=no)
|
AC_SEARCH_LIBS(avcodec_init, [avcodec], have_libavcodec=yes, have_libavcodec=no)
|
||||||
|
|||||||
Reference in New Issue
Block a user