[Ffmpeg-cvslog] r5629 - trunk/configure

mru subversion
Wed Jul 5 21:31:48 CEST 2006


Author: mru
Date: Wed Jul  5 21:31:48 2006
New Revision: 5629

Modified:
   trunk/configure

Log:
set CONFIG_ENCODERS/CONFIG_DECODERS only if any encoders/decoders are enabled


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Jul  5 21:31:48 2006
@@ -1732,12 +1732,16 @@
 echo "EXTRALIBS=$extralibs" >> config.mak
 
 # If you do not want to use encoders, disable them.
-echo "#define CONFIG_ENCODERS 1" >> $TMPH
-echo "CONFIG_ENCODERS=yes" >> config.mak
+if echo "$CODEC_LIST" | grep -q encoder; then
+    echo "#define CONFIG_ENCODERS 1" >> $TMPH
+    echo "CONFIG_ENCODERS=yes" >> config.mak
+fi
 
 # If you do not want to use decoders, disable them.
-echo "#define CONFIG_DECODERS 1" >> $TMPH
-echo "CONFIG_DECODERS=yes" >> config.mak
+if echo "$CODEC_LIST" | grep -q decoder; then
+    echo "#define CONFIG_DECODERS 1" >> $TMPH
+    echo "CONFIG_DECODERS=yes" >> config.mak
+fi
 
 # muxers
 if test "$muxers" = "yes" ; then




More information about the ffmpeg-cvslog mailing list