diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-01-29 12:00:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-29 12:00:11 +0000 |
commit | 1d0d55daf48a806561ebe3e9f61f62c3f7b93b9d (patch) | |
tree | 8ea5db552c5461da4de8db652dc3a8ad01351eda /configure | |
parent | 02d697aa5f1afb7d74fee87183d56b9c8764da7c (diff) | |
download | ffmpeg-1d0d55daf48a806561ebe3e9f61f62c3f7b93b9d.tar.gz |
--disable-risky support
Originally committed as revision 1522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -82,6 +82,7 @@ LIBPREF="lib" LIBSUF=".a" SLIBPREF="lib" SLIBSUF=".so" +risky="yes" # OS specific targetos=`uname -s` @@ -298,6 +299,8 @@ for opt do ;; --disable-ffserver) ffserver="no" ;; + --disable-risky) risky="no" + ;; esac done @@ -587,6 +590,7 @@ echo " --enable-gprof enable profiling with gprof [$gprof]" echo " --disable-mpegaudio-hp faster (but less accurate)" echo " mpegaudio decoding [default=no]" echo " --disable-ffserver disable ffserver build" +echo " --disable-risky disables patent encumbered codecs" echo "" echo "NOTE: The object files are build at the place where configure is launched" exit 1 @@ -615,6 +619,7 @@ echo "vorbis enabled $vorbis" echo "a52 support $a52" echo "a52 dlopened $a52bin" echo "Video hooking $vhook" +echo "risky / patent encumbered codecs $risky" if test "$vhook" = "yes" ; then echo "Imlib2 support $imlib2" @@ -842,6 +847,11 @@ if test "$ffserver" = "yes" ; then echo "CONFIG_FFSERVER=yes" >> config.mak fi +if test "$risky" = "yes" ; then + echo "#define CONFIG_RISKY 1" >> $TMPH + echo "CONFIG_RISKY=yes" >> config.mak +fi + echo "#define restrict $_restrict" >> $TMPH # build tree in object directory if source path is different from current one |