Fixes issue #216 : Cannot build with --without-ffmpeg
This commit is contained in:
@@ -7,6 +7,7 @@ AC_ARG_WITH(static-ffmpeg, AS_HELP_STRING([--with-static-ffmpeg],[Statically lin
|
|||||||
AM_CONDITIONAL(STATIC_FFMPEG, test "$with_static_ffmpeg" = "yes")
|
AM_CONDITIONAL(STATIC_FFMPEG, test "$with_static_ffmpeg" = "yes")
|
||||||
AC_ARG_WITH(system-ffmpeg, AS_HELP_STRING([--with-system-ffmpeg], [Use system instead of bundled ffmpeg (UNSUPPORTED)]), system_ffmpeg=yes, system_ffmpeg=no)
|
AC_ARG_WITH(system-ffmpeg, AS_HELP_STRING([--with-system-ffmpeg], [Use system instead of bundled ffmpeg (UNSUPPORTED)]), system_ffmpeg=yes, system_ffmpeg=no)
|
||||||
AM_CONDITIONAL(SYSTEM_FFMPEG, test "$system_ffmpeg" = "yes")
|
AM_CONDITIONAL(SYSTEM_FFMPEG, test "$system_ffmpeg" = "yes")
|
||||||
|
AM_CONDITIONAL(WITHOUT_FFMPEG, test "$with_ffmpeg" != "yes")
|
||||||
|
|
||||||
VIDEO_CFLAGS=
|
VIDEO_CFLAGS=
|
||||||
VIDEO_LIBS=
|
VIDEO_LIBS=
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
|
if !WITHOUT_FFMPEG
|
||||||
if !SYSTEM_FFMPEG
|
if !SYSTEM_FFMPEG
|
||||||
all-local:
|
all-local:
|
||||||
cd ffmpeg && $(MAKE)
|
cd ffmpeg && $(MAKE)
|
||||||
if WINDOWS
|
if WINDOWS
|
||||||
cp ffmpeg/*/*.dll ..
|
cp ffmpeg/*/*.dll ..
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
del-dlls:
|
del-dlls:
|
||||||
if WINDOWS
|
if WINDOWS
|
||||||
|
|||||||
Reference in New Issue
Block a user