diff configure @ 34111:1facab976a68

Do not compile FFmpeg's avfilters if they are not needed. As a sideeffect, this fixes compilation on systems without strtok_r.
author cehoyos
date Fri, 14 Oct 2011 17:28:51 +0000
parents 34c1bbba61a6
children 3d7ee643b110
line wrap: on
line diff
--- a/configure	Fri Oct 14 12:55:09 2011 +0000
+++ b/configure	Fri Oct 14 17:28:51 2011 +0000
@@ -6777,7 +6777,7 @@
   def_ffmpeg_so='#undef CONFIG_FFMPEG_SO'
   nocodecmodules="ffmpeg $nocodecmodules"
 fi
-test "$_vf_lavfi" = yes && def_vf_lavfi='#define CONFIG_VF_LAVFI 1'
+test "$_vf_lavfi" = yes && def_vf_lavfi='#define CONFIG_VF_LAVFI 1'|| libavfilters=''
 test "$_libavcodec_mpegaudio_hp" = yes &&
   def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1' &&
   mak_libavcodec_mpegaudio_hp='CONFIG_MPEGAUDIO_HP = yes'