Mercurial > mplayer.hg
comparison configure @ 15259:854990f357ee
added faac audio encoder
author | nicodvb |
---|---|
date | Mon, 25 Apr 2005 07:07:57 +0000 |
parents | e84a6ae9d51e |
children | 21e7332ea44e |
comparison
equal
deleted
inserted
replaced
15258:c2979462805a | 15259:854990f357ee |
---|---|
215 --disable-vorbis disable OggVorbis support entirely [autodetect] | 215 --disable-vorbis disable OggVorbis support entirely [autodetect] |
216 --enable-theora build with OggTheora support [autodetect] | 216 --enable-theora build with OggTheora support [autodetect] |
217 --disable-internal-matroska disable internal Matroska support [enabled] | 217 --disable-internal-matroska disable internal Matroska support [enabled] |
218 --enable-external-faad build with external FAAD2 (AAC) support [autodetect] | 218 --enable-external-faad build with external FAAD2 (AAC) support [autodetect] |
219 --disable-internal-faad disable internal FAAD2 (AAC) support [autodetect] | 219 --disable-internal-faad disable internal FAAD2 (AAC) support [autodetect] |
220 --disable-faac disable support for FAAC (AAC encoder) [autodetect] | |
220 --disable-ladspa disable LADSPA plugin support [autodetect] | 221 --disable-ladspa disable LADSPA plugin support [autodetect] |
221 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] | 222 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] |
222 --disable-mad disable libmad (MPEG audio) support [autodetect] | 223 --disable-mad disable libmad (MPEG audio) support [autodetect] |
223 --disable-toolame disable Toolame (MPEG layer 2 audio) support in mencoder [autodetect] | 224 --disable-toolame disable Toolame (MPEG layer 2 audio) support in mencoder [autodetect] |
224 --enable-xmms build with XMMS inputplugin support [disabled] | 225 --enable-xmms build with XMMS inputplugin support [disabled] |
1331 _libmpeg2=yes | 1332 _libmpeg2=yes |
1332 _matroska_internal=yes | 1333 _matroska_internal=yes |
1333 _tremor=no | 1334 _tremor=no |
1334 _faad_internal=auto | 1335 _faad_internal=auto |
1335 _faad_external=auto | 1336 _faad_external=auto |
1337 _faac=auto | |
1336 _ladspa=auto | 1338 _ladspa=auto |
1337 _xmms=no | 1339 _xmms=no |
1338 # dvdnav disabled, it does not work | 1340 # dvdnav disabled, it does not work |
1339 #_dvdnav=no | 1341 #_dvdnav=no |
1340 _dvdread=auto | 1342 _dvdread=auto |
1529 --disable-internal-matroska) _matroska_internal=no ;; | 1531 --disable-internal-matroska) _matroska_internal=no ;; |
1530 --enable-internal-faad) _faad_internal=yes _faad_external=no ;; | 1532 --enable-internal-faad) _faad_internal=yes _faad_external=no ;; |
1531 --disable-internal-faad) _faad_internal=no ;; | 1533 --disable-internal-faad) _faad_internal=no ;; |
1532 --enable-external-faad) _faad_external=yes _faad_internal=no ;; | 1534 --enable-external-faad) _faad_external=yes _faad_internal=no ;; |
1533 --disable-external-faad) _faad_external=no ;; | 1535 --disable-external-faad) _faad_external=no ;; |
1536 --disable-faac) _faac=no ;; | |
1534 --enable-ladspa) _ladspa=yes ;; | 1537 --enable-ladspa) _ladspa=yes ;; |
1535 --disable-ladspa) _ladspa=no ;; | 1538 --disable-ladspa) _ladspa=no ;; |
1536 --enable-xmms) _xmms=yes ;; | 1539 --enable-xmms) _xmms=yes ;; |
1537 --disable-xmms) _xmms=no ;; | 1540 --disable-xmms) _xmms=no ;; |
1538 --enable-dvdread) _dvdread=yes ;; | 1541 --enable-dvdread) _dvdread=yes ;; |
5315 _noinputmodules="matroska $_noinputmodules" | 5318 _noinputmodules="matroska $_noinputmodules" |
5316 _def_matroska='#undef HAVE_MATROSKA' | 5319 _def_matroska='#undef HAVE_MATROSKA' |
5317 fi | 5320 fi |
5318 echores "$_matroska_internal" | 5321 echores "$_matroska_internal" |
5319 | 5322 |
5323 echocheck "FAAC (AAC encoder) support" | |
5324 if test "$_faac" = auto ; then | |
5325 cat > $TMPC <<EOF | |
5326 #include <inttypes.h> | |
5327 #include <faac.h> | |
5328 int main(void) { unsigned long x, y; faacEncOpen(48000, 2, &x, &y); return 0; } | |
5329 EOF | |
5330 if ( cc_check -c -O4 -lfaac $_ld_lm ); then | |
5331 _faac=yes | |
5332 _ld_faac="-lfaac" | |
5333 else | |
5334 if ( cc_check -c -O4 -lfaac -lmp4v2 -lstdc++ $_ld_lm ); then | |
5335 _faac=yes | |
5336 _ld_faac="-lfaac -lmp4v2 -lstdc++" | |
5337 else | |
5338 _faac=no | |
5339 _ld_faac="" | |
5340 fi | |
5341 fi | |
5342 fi | |
5343 if test "$_faac" = yes ; then | |
5344 _def_faac="#define HAVE_FAAC 1" | |
5345 _codecmodules="$_codecmodules faac" | |
5346 else | |
5347 _def_faac="#undef HAVE_FAAC" | |
5348 _nocodecmodules="$_nocodecmodules faac" | |
5349 fi | |
5350 echores "$_faac" | |
5320 | 5351 |
5321 echocheck "internal FAAD2 (AAC) support" | 5352 echocheck "internal FAAD2 (AAC) support" |
5322 _inc_faad="-I`pwd`/libfaad2" | 5353 _inc_faad="-I`pwd`/libfaad2" |
5323 if test "$_faad_internal" = auto ; then | 5354 if test "$_faad_internal" = auto ; then |
5324 # the faad check needs a config.h file | 5355 # the faad check needs a config.h file |
6844 MACOSX_BUNDLE = $_macosx_bundle | 6875 MACOSX_BUNDLE = $_macosx_bundle |
6845 MACOSX_FRAMEWORKS = $_macosx_frameworks | 6876 MACOSX_FRAMEWORKS = $_macosx_frameworks |
6846 TOOLAME=$_toolame | 6877 TOOLAME=$_toolame |
6847 TOOLAME_EXTRAFLAGS=$_toolame_extraflags | 6878 TOOLAME_EXTRAFLAGS=$_toolame_extraflags |
6848 TOOLAME_LIB=$_toolame_lib | 6879 TOOLAME_LIB=$_toolame_lib |
6880 FAAC=$_faac | |
6881 FAAC_LIB=$_ld_faac | |
6849 AMR_NB=$_amr_nb | 6882 AMR_NB=$_amr_nb |
6850 AMR_NB_FIXED=$_amr_nb_fixed | 6883 AMR_NB_FIXED=$_amr_nb_fixed |
6851 AMR_WB=$_amr_wb | 6884 AMR_WB=$_amr_wb |
6852 | 6885 |
6853 # --- Some stuff for autoconfigure ---- | 6886 # --- Some stuff for autoconfigure ---- |
7379 $_def_matroska | 7412 $_def_matroska |
7380 | 7413 |
7381 /* enable FAAD (AAC) support */ | 7414 /* enable FAAD (AAC) support */ |
7382 $_def_faad | 7415 $_def_faad |
7383 $_def_faad_internal | 7416 $_def_faad_internal |
7417 | |
7418 /* enable FAAC (AAC encoder) support */ | |
7419 $_def_faac | |
7384 | 7420 |
7385 /* enable LADSPA plugin support */ | 7421 /* enable LADSPA plugin support */ |
7386 $_def_ladspa | 7422 $_def_ladspa |
7387 | 7423 |
7388 /* enable network */ | 7424 /* enable network */ |