[SCM] libav/experimental: added --disable-mp3lib

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:29:41 UTC 2013


The following commit has been merged in the experimental branch:
commit ca9118c87609826693bf4ef744010a86e68ef043
Author: Fabrice Bellard <fabrice at bellard.org>
Date:   Mon Jul 30 23:18:14 2001 +0000

    added --disable-mp3lib
    
    
    Originally committed as revision 16 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index f357bec..1da2ce3 100755
--- a/configure
+++ b/configure
@@ -15,6 +15,7 @@ case "$cpu" in
   ;;
 esac
 gprof="no"
+mp3lib="yes"
 
 if [ "$1" = "-h" -o "$1" = "--help" ] ; then
 cat << EOF
@@ -29,6 +30,7 @@ echo "  --cc=CC                 use C compiler CC [$cc]"
 echo "  --cpu=CPU               force cpu to CPU  [$cpu]"
 echo "  --disable-mmx           disable mmx usage"
 echo "  --enable-gprof          enable profiling with gprof [$gprof]"
+echo "  --disable-mp3lib        disable mp3 lib compiling"
 exit 1
 fi
 
@@ -44,6 +46,8 @@ for opt do
   ;;
   --enable-gprof) gprof="yes"
   ;;
+  --disable-mp3lib) mp3lib="no"
+  ;;
   esac
 done
 
@@ -94,5 +98,7 @@ echo "CONFIG_DECODERS=yes" >> config.mak
 echo "#define CONFIG_AC3 1" >> config.h
 echo "CONFIG_AC3=yes" >> config.mak
 
-echo "#define CONFIG_MPGLIB 1" >> config.h
-echo "CONFIG_MPGLIB=yes" >> config.mak
+if [ "$mp3lib" = "yes" ] ; then
+  echo "#define CONFIG_MPGLIB 1" >> config.h
+  echo "CONFIG_MPGLIB=yes" >> config.mak
+fi

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list