changeset 36814:b33a9dff0b57

configure: error out when no FFmpeg is detected. It currently will not compile. It should be possible to reduce the dependency to only libavutil again, but if nobody requests this feature it seems not worth the effort. See also issue #2122.
author reimar
date Sun, 23 Feb 2014 19:30:15 +0000
parents c3809c28a4e0
children 4c44fdd14655
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Feb 23 19:17:23 2014 +0000
+++ b/configure	Sun Feb 23 19:30:15 2014 +0000
@@ -7102,6 +7102,9 @@
   def_ffmpeg_a='#undef CONFIG_FFMPEG_A'
   def_ffmpeg_so='#undef CONFIG_FFMPEG_SO'
   nocodecmodules="ffmpeg $nocodecmodules"
+  echo "Compiling without FFmpeg is currently not supported/working."
+  echo "Please contact us if that is an issue for you."
+  die "both internal and external FFmpeg missing"
 fi
 test "$_vf_lavfi" = yes && def_vf_lavfi='#define CONFIG_VF_LAVFI 1'|| libavfilters=''
 test "$_libavcodec_mpegaudio_hp" = yes &&