Mercurial > mplayer.hg
comparison configure @ 13006:8639d064d3a1
DTS support via lavc and libdts
Patch by Aurelien Jacobs ( aurel at gnuage dot org )
dts in wav by me
author | rtognimp |
---|---|
date | Thu, 12 Aug 2004 12:36:08 +0000 |
parents | 093afb92e4d5 |
children | 2d188ebe0f3b |
comparison
equal
deleted
inserted
replaced
13005:8d37cc41a272 | 13006:8639d064d3a1 |
---|---|
212 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] | 212 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] |
213 --disable-mad disable libmad (MPEG audio) support [autodetect] | 213 --disable-mad disable libmad (MPEG audio) support [autodetect] |
214 --enable-xmms build with XMMS inputplugin support [disabled] | 214 --enable-xmms build with XMMS inputplugin support [disabled] |
215 --disable-mp3lib disable builtin mp3lib [enabled] | 215 --disable-mp3lib disable builtin mp3lib [enabled] |
216 --disable-liba52 disable builtin liba52 [enabled] | 216 --disable-liba52 disable builtin liba52 [enabled] |
217 --enable-libdts enable libdts support [autodetect] | |
217 --disable-libmpeg2 disable builtin libmpeg2 [enabled] | 218 --disable-libmpeg2 disable builtin libmpeg2 [enabled] |
218 | 219 |
219 Video output: | 220 Video output: |
220 --disable-vidix disable VIDIX [enable on x86 *nix] | 221 --disable-vidix disable VIDIX [enable on x86 *nix] |
221 --enable-gl build with OpenGL render support [autodetect] | 222 --enable-gl build with OpenGL render support [autodetect] |
317 --with-xanimlibdir=DIR XAnim DLL files in DIR | 318 --with-xanimlibdir=DIR XAnim DLL files in DIR |
318 --with-reallibdir=DIR RealPlayer DLL files in DIR | 319 --with-reallibdir=DIR RealPlayer DLL files in DIR |
319 --with-xvmclib=PATH path to adapter specific XvMCxxxxx.so (e.g. NVIDIA) | 320 --with-xvmclib=PATH path to adapter specific XvMCxxxxx.so (e.g. NVIDIA) |
320 --with-xvidlibdir=DIR libxvidcore (XviD) in DIR | 321 --with-xvidlibdir=DIR libxvidcore (XviD) in DIR |
321 --with-xvidincdir=DIR XviD header in DIR | 322 --with-xvidincdir=DIR XviD header in DIR |
323 --with-dtslibdir=DIR libdts library in DIR | |
324 --with-dtsincdir=DIR libdts header in DIR | |
322 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries | 325 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries |
323 --with-xmmsplugindir=DIR path to XMMS plugins | 326 --with-xmmsplugindir=DIR path to XMMS plugins |
324 --with-xmmslibdir=DIR path to libxmms.so.1 | 327 --with-xmmslibdir=DIR path to libxmms.so.1 |
325 --with-bio2jack=DIR path to libbio2jack.a (e.g. /home/user/bio2jack) | 328 --with-bio2jack=DIR path to libbio2jack.a (e.g. /home/user/bio2jack) |
326 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR | 329 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR |
1215 _mad=auto | 1218 _mad=auto |
1216 _vorbis=auto | 1219 _vorbis=auto |
1217 _theora=auto | 1220 _theora=auto |
1218 _mp3lib=yes | 1221 _mp3lib=yes |
1219 _liba52=yes | 1222 _liba52=yes |
1223 _libdts=auto | |
1220 _libmpeg2=yes | 1224 _libmpeg2=yes |
1221 _matroska_internal=yes | 1225 _matroska_internal=yes |
1222 _tremor=no | 1226 _tremor=no |
1223 _faad_internal=auto | 1227 _faad_internal=auto |
1224 _faad_external=auto | 1228 _faad_external=auto |
1392 --disable-theora) _theora=no ;; | 1396 --disable-theora) _theora=no ;; |
1393 --enable-mp3lib) _mp3lib=yes ;; | 1397 --enable-mp3lib) _mp3lib=yes ;; |
1394 --disable-mp3lib) _mp3lib=no ;; | 1398 --disable-mp3lib) _mp3lib=no ;; |
1395 --enable-liba52) _liba52=yes ;; | 1399 --enable-liba52) _liba52=yes ;; |
1396 --disable-liba52) _liba52=no ;; | 1400 --disable-liba52) _liba52=no ;; |
1401 --enable-libdts) _libdts=yes ;; | |
1402 --disable-libdts) _libdts=no ;; | |
1397 --enable-libmpeg2) _libmpeg2=yes ;; | 1403 --enable-libmpeg2) _libmpeg2=yes ;; |
1398 --disable-libmpeg2) _libmpeg2=no ;; | 1404 --disable-libmpeg2) _libmpeg2=no ;; |
1399 --enable-internal-matroska) _matroska_internal=yes ;; | 1405 --enable-internal-matroska) _matroska_internal=yes ;; |
1400 --disable-internal-matroska) _matroska_internal=no ;; | 1406 --disable-internal-matroska) _matroska_internal=no ;; |
1401 --enable-internal-faad) _faad_internal=yes _faad_external=no ;; | 1407 --enable-internal-faad) _faad_internal=yes _faad_external=no ;; |
1655 _ld_xvid=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` | 1661 _ld_xvid=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` |
1656 ;; | 1662 ;; |
1657 --with-xvidincdir=*) | 1663 --with-xvidincdir=*) |
1658 _inc_xvid=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | 1664 _inc_xvid=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` |
1659 ;; | 1665 ;; |
1666 --with-dtslibdir=*) | |
1667 _ld_libdts=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` | |
1668 ;; | |
1669 --with-dtsincdir=*) | |
1670 _inc_libdts=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | |
1671 ;; | |
1660 --with-sdl-config=*) | 1672 --with-sdl-config=*) |
1661 _sdlconfig=`echo $ac_option | cut -d '=' -f 2` | 1673 _sdlconfig=`echo $ac_option | cut -d '=' -f 2` |
1662 ;; | 1674 ;; |
1663 --with-freetype-config=*) | 1675 --with-freetype-config=*) |
1664 _freetypeconfig=`echo $ac_option | cut -d '=' -f 2` | 1676 _freetypeconfig=`echo $ac_option | cut -d '=' -f 2` |
4850 _def_liba52'#undef USE_LIBA52' | 4862 _def_liba52'#undef USE_LIBA52' |
4851 _nocodecmodules="liba52 $_nocodecmodules" | 4863 _nocodecmodules="liba52 $_nocodecmodules" |
4852 fi | 4864 fi |
4853 echores "$_liba52" | 4865 echores "$_liba52" |
4854 | 4866 |
4867 echocheck "libdts support" | |
4868 if test "$_libdts" = auto ; then | |
4869 _libdts=no | |
4870 cat > $TMPC << EOF | |
4871 #include <stdint.h> | |
4872 #include <dts.h> | |
4873 int main(void) { dts_init (0); return 0; } | |
4874 EOF | |
4875 cc_check $_inc_libdts $_ld_libdts -ldts -lm && _libdts=yes | |
4876 fi | |
4877 if test "$_libdts" = yes ; then | |
4878 _def_libdts='#define CONFIG_DTS 1' | |
4879 _ld_libdts="$_ld_libdts -ldts -lm" | |
4880 _codecmodules="libdts $_codecmodules" | |
4881 else | |
4882 _def_libdts='#undef CONFIG_DTS' | |
4883 _nocodecmodules="libdts $_nocodecmodules" | |
4884 fi | |
4885 echores "$_libdts" | |
4886 | |
4855 echocheck "libmpeg2 support" | 4887 echocheck "libmpeg2 support" |
4856 if test "$_libmpeg2" = yes ; then | 4888 if test "$_libmpeg2" = yes ; then |
4857 _def_libmpeg2='#define USE_LIBMPEG2 1' | 4889 _def_libmpeg2='#define USE_LIBMPEG2 1' |
4858 _codecmodules="libmpeg2 $_codecmodules" | 4890 _codecmodules="libmpeg2 $_codecmodules" |
4859 else | 4891 else |
6190 MP1E_LIB = $_ld_mp1e | 6222 MP1E_LIB = $_ld_mp1e |
6191 ARCH_LIB = $_ld_arch $_ld_iconv | 6223 ARCH_LIB = $_ld_arch $_ld_iconv |
6192 XVID = $_xvid | 6224 XVID = $_xvid |
6193 XVID_INC = $_inc_xvid | 6225 XVID_INC = $_inc_xvid |
6194 XVID_LIB = $_ld_xvid | 6226 XVID_LIB = $_ld_xvid |
6227 CONFIG_DTS = $_libdts | |
6228 DTS_INC = $_inc_libdts | |
6229 DTS_LIB = $_ld_libdts | |
6195 DECORE_LIB = $_ld_decore $_ld_mp3lame | 6230 DECORE_LIB = $_ld_decore $_ld_mp3lame |
6196 MENCODER = $_mencoder | 6231 MENCODER = $_mencoder |
6197 ENCORE_LIB = $_ld_encore $_ld_mp3lame | 6232 ENCORE_LIB = $_ld_encore $_ld_mp3lame |
6198 DIRECTFB_INC = $_inc_directfb | 6233 DIRECTFB_INC = $_inc_directfb |
6199 DIRECTFB_LIB = $_ld_directfb | 6234 DIRECTFB_LIB = $_ld_directfb |
6531 #define CONFIG_MPEGAUDIO_HP 1 | 6566 #define CONFIG_MPEGAUDIO_HP 1 |
6532 | 6567 |
6533 /* Use codec libs included in mplayer CVS / source dist: */ | 6568 /* Use codec libs included in mplayer CVS / source dist: */ |
6534 $_def_mp3lib | 6569 $_def_mp3lib |
6535 $_def_liba52 | 6570 $_def_liba52 |
6571 $_def_libdts | |
6536 $_def_libmpeg2 | 6572 $_def_libmpeg2 |
6537 | 6573 |
6538 /* Use libfame encoder filter */ | 6574 /* Use libfame encoder filter */ |
6539 $_def_fame | 6575 $_def_fame |
6540 | 6576 |