summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrguyom <rguyom@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-04 20:27:36 +0000
committerrguyom <rguyom@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-04 20:27:36 +0000
commit984c1c460222b12991af893b169b349e3b710fa0 (patch)
treeb02c56dcdc85f638aeaf5261de530ca6abcc724f /configure
parent216d10cf2d86cee64fa7a4e1c5f1432ad1b8488d (diff)
downloadmpv-984c1c460222b12991af893b169b349e3b710fa0.tar.bz2
mpv-984c1c460222b12991af893b169b349e3b710fa0.tar.xz
Add Tremor (an integer-only Vorbis decoder) support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8343 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure b/configure
index 4bdcc249e8..200b604143 100755
--- a/configure
+++ b/configure
@@ -170,6 +170,7 @@ Codecs:
--disable-libavcodec disable libavcodec [autodetect]
--enable-libfame enable libfame realtime encoder [autodetect]
--enable-vorbis build with OggVorbis support [autodetect]
+ --enable-tremor build with integer-only OggVorbis support [disabled]
--enable-faad build with FAAD2 (MP4/AAC) support [autodetect]
--disable-libdv disable libdv 0.9.5 en/decoding support [autodetect]
--disable-mad disable libmad (mpeg audio) support [autodetect]
@@ -964,6 +965,7 @@ _arts=auto
_liblzo=auto
_mad=auto
_vorbis=auto
+_tremor=no
_faad=auto
_css=auto
_dvdnav=yes
@@ -1099,6 +1101,8 @@ for ac_option do
--disable-liblzo) _liblzo=no ;;
--enable-vorbis) _vorbis=yes ;;
--disable-vorbis) _vorbis=no ;;
+ --enable-tremor) _tremor=yes ;;
+ --disable-tremor) _tremor=no ;;
--enable-faad) _faad=yes ;;
--disable-faad) _faad=no ;;
--enable-css) _css=yes ;;
@@ -3580,10 +3584,17 @@ EOF
fi
if test "$_vorbis" = yes ; then
_def_vorbis='#define HAVE_OGGVORBIS 1'
- _ld_vorbis='-lvorbis -logg'
+ if test "$_tremor" = yes ; then
+ _def_tremor='#define TREMOR 1'
+ _ld_vorbis='-lvorbisidec -logg'
+ else
+ _def_tremor='#undef TREMOR'
+ _ld_vorbis='-lvorbis -logg'
+ fi
_codecmodules="libvorbis $_codecmodules"
else
_def_vorbis='#undef HAVE_OGGVORBIS'
+ _def_tremor='#undef TREMOR'
_nocodecmodules="libvorbis $_nocodecmodules"
fi
echores "$_vorbis"
@@ -5020,6 +5031,9 @@ $_def_mad
/* enable OggVorbis support */
$_def_vorbis
+/* enable Tremor as vorbis decoder */
+$_def_tremor
+
/* enable FAAD (AAC) support */
$_def_faad