comparison configure @ 14217:5b5ebf93ec16

Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins. Compilation is optional and can be controled by configure. You need to have the LADSPA SDK installed in order to have it autodetected by configure. Manual page is updated.
author ivo
date Thu, 23 Dec 2004 02:09:52 +0000
parents 8500cd45f35b
children 878f3e2a07da
comparison
equal deleted inserted replaced
14216:0d4589ab4d28 14217:5b5ebf93ec16
209 --enable-tremor build with integer-only OggVorbis support [disabled] 209 --enable-tremor build with integer-only OggVorbis support [disabled]
210 --enable-theora build with OggTheora support [autodetect] 210 --enable-theora build with OggTheora support [autodetect]
211 --disable-internal-matroska disable internal Matroska support [enabled] 211 --disable-internal-matroska disable internal Matroska support [enabled]
212 --enable-external-faad build with external FAAD2 (AAC) support [autodetect] 212 --enable-external-faad build with external FAAD2 (AAC) support [autodetect]
213 --disable-internal-faad disable internal FAAD2 (AAC) support [autodetect] 213 --disable-internal-faad disable internal FAAD2 (AAC) support [autodetect]
214 --disable-ladspa disable LADSPA plugin support [autodetect]
214 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] 215 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect]
215 --disable-mad disable libmad (MPEG audio) support [autodetect] 216 --disable-mad disable libmad (MPEG audio) support [autodetect]
216 --disable-toolame disable Toolame (MPEG layer 2 audio) support in mencoder [autodetect] 217 --disable-toolame disable Toolame (MPEG layer 2 audio) support in mencoder [autodetect]
217 --enable-xmms build with XMMS inputplugin support [disabled] 218 --enable-xmms build with XMMS inputplugin support [disabled]
218 --disable-mp3lib disable builtin mp3lib [enabled] 219 --disable-mp3lib disable builtin mp3lib [enabled]
1315 _libmpeg2=yes 1316 _libmpeg2=yes
1316 _matroska_internal=yes 1317 _matroska_internal=yes
1317 _tremor=no 1318 _tremor=no
1318 _faad_internal=auto 1319 _faad_internal=auto
1319 _faad_external=auto 1320 _faad_external=auto
1321 _ladspa=auto
1320 _xmms=no 1322 _xmms=no
1321 # dvdnav disabled, it does not work 1323 # dvdnav disabled, it does not work
1322 #_dvdnav=no 1324 #_dvdnav=no
1323 _dvdread=auto 1325 _dvdread=auto
1324 _dvdkit=auto 1326 _dvdkit=auto
1507 --disable-internal-matroska) _matroska_internal=no ;; 1509 --disable-internal-matroska) _matroska_internal=no ;;
1508 --enable-internal-faad) _faad_internal=yes _faad_external=no ;; 1510 --enable-internal-faad) _faad_internal=yes _faad_external=no ;;
1509 --disable-internal-faad) _faad_internal=no ;; 1511 --disable-internal-faad) _faad_internal=no ;;
1510 --enable-external-faad) _faad_external=yes _faad_internal=no ;; 1512 --enable-external-faad) _faad_external=yes _faad_internal=no ;;
1511 --disable-external-faad) _faad_external=no ;; 1513 --disable-external-faad) _faad_external=no ;;
1514 --enable-ladspa) _ladspa=yes ;;
1515 --disable-ladspa) _ladspa=no ;;
1512 --enable-xmms) _xmms=yes ;; 1516 --enable-xmms) _xmms=yes ;;
1513 --disable-xmms) _xmms=no ;; 1517 --disable-xmms) _xmms=no ;;
1514 --enable-dvdread) _dvdread=yes ;; 1518 --enable-dvdread) _dvdread=yes ;;
1515 --disable-dvdread) _dvdread=no ;; 1519 --disable-dvdread) _dvdread=no ;;
1516 --enable-mpdvdkit) _dvdkit=yes ;; 1520 --enable-mpdvdkit) _dvdkit=yes ;;
5303 _def_faad='#undef HAVE_FAAD' 5307 _def_faad='#undef HAVE_FAAD'
5304 _nocodecmodules="faad2 $_nocodecmodules" 5308 _nocodecmodules="faad2 $_nocodecmodules"
5305 _ld_faad= 5309 _ld_faad=
5306 fi 5310 fi
5307 5311
5312
5313 echocheck "LADSPA plugin support"
5314 if test "$_ladspa" = auto ; then
5315 cat > $TMPC <<EOF
5316 #include <stdio.h>
5317 #include <ladspa.h>
5318 int main(void) {
5319 const LADSPA_Descriptor *ld = NULL;
5320 return 0;
5321 }
5322 EOF
5323 _ladspa=no
5324 cc_check && _ladspa=yes
5325 fi
5326 if test "$_ladspa" = yes; then
5327 _def_ladspa="#define HAVE_LADSPA"
5328 _afsrc="$_afsrc af_ladspa.c"
5329 _afmodules="ladspa $_afmodules"
5330 else
5331 _def_ladspa="#undef HAVE_LADSPA"
5332 _noafmodules="ladspa $_noafmodules"
5333 fi
5334 echores "$_ladspa"
5335
5336
5308 if test "$_win32" = auto ; then 5337 if test "$_win32" = auto ; then
5309 if x86 ; then 5338 if x86 ; then
5310 qnx && _win32=no 5339 qnx && _win32=no
5311 else 5340 else
5312 _win32=no # x86 arch only 5341 _win32=no # x86 arch only
7173 /* enable FAAD (AAC) support */ 7202 /* enable FAAD (AAC) support */
7174 $_def_faad 7203 $_def_faad
7175 $_def_faad_internal 7204 $_def_faad_internal
7176 $_def_faad_version 7205 $_def_faad_version
7177 7206
7207 /* enable LADSPA plugin support */
7208 $_def_ladspa
7209
7178 /* enable network */ 7210 /* enable network */
7179 $_def_network 7211 $_def_network
7180 7212
7181 /* enable ftp support */ 7213 /* enable ftp support */
7182 $_def_ftp 7214 $_def_ftp
7305 OPTIONAL_OBJS = $_aoobj 7337 OPTIONAL_OBJS = $_aoobj
7306 EOF 7338 EOF
7307 7339
7308 ############################################################################# 7340 #############################################################################
7309 7341
7342 echo "Creating libaf/config.mak"
7343 _afobj=`echo $_afsrc | sed -e 's/\.c/\.o/g'`
7344 cat > libaf/config.mak << EOF
7345 include ../config.mak
7346 OPTIONAL_SRCS = $_afsrc
7347 OPTIONAL_OBJS = $_afobj
7348 EOF
7349
7350 #############################################################################
7351
7310 cat << EOF 7352 cat << EOF
7311 7353
7312 Config files successfully generated by ./configure ! 7354 Config files successfully generated by ./configure !
7313 7355
7314 Install prefix: $_prefix 7356 Install prefix: $_prefix
7331 Enabled optional drivers: 7373 Enabled optional drivers:
7332 Input: $_inputmodules 7374 Input: $_inputmodules
7333 Codecs: $_codecmodules 7375 Codecs: $_codecmodules
7334 Audio output: $_aomodules 7376 Audio output: $_aomodules
7335 Video output: $_vomodules 7377 Video output: $_vomodules
7378 Audio filters: $_afmodules
7336 Disabled optional drivers: 7379 Disabled optional drivers:
7337 Input: $_noinputmodules 7380 Input: $_noinputmodules
7338 Codecs: $_nocodecmodules 7381 Codecs: $_nocodecmodules
7339 Audio output: $_noaomodules 7382 Audio output: $_noaomodules
7340 Video output: $_novomodules 7383 Video output: $_novomodules
7384 Audio filters: $_noafmodules
7341 7385
7342 'config.h' and 'config.mak' contain your configuration options. 7386 'config.h' and 'config.mak' contain your configuration options.
7343 Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer 7387 Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
7344 compile *** DO NOT REPORT BUGS if you tweak these files *** 7388 compile *** DO NOT REPORT BUGS if you tweak these files ***
7345 7389