aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMark Hills <mark@pogo.org.uk>2002-09-01 18:07:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-01 18:07:56 +0000
commit81e0d0b412e7d3d4ee8cc3a9ac940f60a7b1ae3b (patch)
treef4429f345bf66ef382cc5207aac0ff7c15a8b752 /configure
parentad324c93515ca4acb43f5973ba67861213ff584d (diff)
downloadffmpeg-81e0d0b412e7d3d4ee8cc3a9ac940f60a7b1ae3b.tar.gz
oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index a9bd98b155..1f94134263 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@ audio_oss="yes"
network="yes"
zlib="yes"
mp3lame="no"
+vorbis="no"
a52="yes"
a52bin="no"
win32="no"
@@ -176,6 +177,8 @@ for opt do
;;
--enable-mp3lame) mp3lame="yes"
;;
+ --enable-vorbis) vorbis="yes"
+ ;;
--disable-vhook) vhook="no"
;;
--disable-simple_idct) simpleidct="no"
@@ -305,6 +308,7 @@ echo "Standard options:"
echo " --help print this message"
echo " --prefix=PREFIX install in PREFIX [$prefix]"
echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]"
+echo " --enable-vorbis enable vorbis support via libvorbisenc [default=no]"
echo " --enable-win32 enable win32 cross compile"
echo " --disable-a52 disable GPL'ed A52 support [default=no]"
echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
@@ -344,6 +348,7 @@ echo "MMX enabled $mmx"
echo "gprof enabled $gprof"
echo "zlib enabled $zlib"
echo "mp3lame enabled $mp3lame"
+echo "vorbis enabled $vorbis"
echo "a52 support $a52"
echo "a52 dlopened $a52bin"
# echo "Video hooking $vhook"
@@ -460,6 +465,11 @@ if test "$mp3lame" = "yes" ; then
echo "CONFIG_MP3LAME=yes" >> config.mak
fi
+if test "$vorbis" = "yes" ; then
+ echo "#define CONFIG_VORBIS 1" >> $TMPH
+ echo "CONFIG_VORBIS=yes" >> config.mak
+fi
+
if test "$win32" = "yes" ; then
echo "#define CONFIG_WIN32 1" >> $TMPH
echo "CONFIG_WIN32=yes" >> config.mak