comparison configure @ 16935:60bd6aeed405

make it optionally possible to compile MPlayer with libcdio instead of libcdparanoia patch by Erik Lunchpail <erik_27can at yahoo.com> base on patch by Rocky Bernstein <rocky at panix.com> minor modification by myself
author faust3
date Sun, 06 Nov 2005 17:42:20 +0000
parents 6b1d1e4adaea
children 3d43eb040393
comparison
equal deleted inserted replaced
16934:0c5f661011f0 16935:60bd6aeed405
224 224
225 Codecs: 225 Codecs:
226 --enable-gif enable gif support [autodetect] 226 --enable-gif enable gif support [autodetect]
227 --enable-png enable png input/output support [autodetect] 227 --enable-png enable png input/output support [autodetect]
228 --enable-jpeg enable jpeg input/output support [autodetect] 228 --enable-jpeg enable jpeg input/output support [autodetect]
229 --enable-libcdio enable external libcdio support [autodetect]
229 --enable-liblzo enable external liblzo support [autodetect] 230 --enable-liblzo enable external liblzo support [autodetect]
230 --disable-win32 disable Win32 DLL support [autodetect] 231 --disable-win32 disable Win32 DLL support [autodetect]
231 --disable-dshow disable Win32/DirectShow support [autodetect] 232 --disable-dshow disable Win32/DirectShow support [autodetect]
232 --disable-qtx disable Quicktime codecs [autodetect] 233 --disable-qtx disable Quicktime codecs [autodetect]
233 --disable-xanim disable XAnim DLL support [autodetect] 234 --disable-xanim disable XAnim DLL support [autodetect]
1478 _ossaudio=auto 1479 _ossaudio=auto
1479 _arts=auto 1480 _arts=auto
1480 _esd=auto 1481 _esd=auto
1481 _polyp=auto 1482 _polyp=auto
1482 _jack=auto 1483 _jack=auto
1484 _libcdio=auto
1483 _liblzo=auto 1485 _liblzo=auto
1484 _mad=auto 1486 _mad=auto
1485 _toolame=auto 1487 _toolame=auto
1486 _twolame=auto 1488 _twolame=auto
1487 _tremor_internal=yes 1489 _tremor_internal=yes
1675 --disable-jack) _jack=no ;; 1677 --disable-jack) _jack=no ;;
1676 --enable-mad) _mad=yes ;; 1678 --enable-mad) _mad=yes ;;
1677 --disable-mad) _mad=no ;; 1679 --disable-mad) _mad=no ;;
1678 --disable-toolame) _toolame=no ;; 1680 --disable-toolame) _toolame=no ;;
1679 --disable-twolame) _twolame=no ;; 1681 --disable-twolame) _twolame=no ;;
1682 --enable-libcdio) _libcdio=yes ;;
1683 --disable-libcio) _libcdio=no ;;
1680 --enable-liblzo) _liblzo=yes ;; 1684 --enable-liblzo) _liblzo=yes ;;
1681 --disable-liblzo) _liblzo=no ;; 1685 --disable-liblzo) _liblzo=no ;;
1682 --enable-vorbis) _vorbis=yes ;; 1686 --enable-vorbis) _vorbis=yes ;;
1683 --disable-vorbis) _vorbis=no ;; 1687 --disable-vorbis) _vorbis=no ;;
1684 --enable-speex) _speex=yes ;; 1688 --enable-speex) _speex=yes ;;
5074 _noinputmodules="cdda $_noinputmodules" 5078 _noinputmodules="cdda $_noinputmodules"
5075 fi 5079 fi
5076 echores "$_cdparanoia" 5080 echores "$_cdparanoia"
5077 5081
5078 5082
5083 echocheck "libcdio"
5084 if test "$_libcdio" = auto && test "$_cdparanoia" = no ; then
5085 if ( pkg-config --modversion libcdio) > /dev/null 2>&1 ; then
5086 cat > $TMPC << EOF
5087 #include <stdio.h>
5088 #include <cdio/version.h>
5089 #include <cdio/cdda.h>
5090 #include <cdio/paranoia.h>
5091 int main()
5092 {
5093 printf("%s\n", CDIO_VERSION);
5094 return 0;
5095
5096 }
5097 EOF
5098 _libcdio=no
5099 for _inc_tmp in "$_inc_libcdio" "-I/usr/include/cdio" "-I/usr/local/include/cdio" ; do
5100 cc_check `pkg-config --cflags --libs libcdio` $_inc_tmp $_ld_libcdio -lcdio_cdda -lcdio_paranoia $_ld_lm && _inc_libcdio="$_inc_tmp" && ( $TMPO >> "$TMPLOG" ) && _libcdio=yes && break
5101 done
5102 else
5103 _libcdio=no
5104 fi
5105 fi
5106 if test "$_libcdio" = yes && test "$_cdparanoia" = no ; then
5107 _def_libcdio='#define HAVE_LIBCDIO'
5108 _def_cdparanoia='#define HAVE_CDDA'
5109 _def_havelibcdio='yes'
5110 _inputmodules="cdda $_inputmodules"
5111 _inc_libcdio=`pkg-config --cflags libcdio`
5112 _ld_libcdio=`pkg-config --libs libcdio`
5113 _ld_cdparanoia="$_ld_cdparanoia -lcdio_cdda -lcdio_paranoia -lcdio"
5114 else
5115 if test "$_cdparanoia" = yes ; then
5116 _libcdio="no (using cdparanoia)"
5117 else
5118 _libcdio=no
5119 fi
5120 _def_libcdio='#undef HAVE_LIBCDIO'
5121 _def_havelibcdio='no'
5122 fi
5123 echores "$_libcdio"
5124
5125
5079 echocheck "freetype >= 2.0.9" 5126 echocheck "freetype >= 2.0.9"
5080 5127
5081 # freetype depends on iconv 5128 # freetype depends on iconv
5082 if test "$_iconv" = no ; then 5129 if test "$_iconv" = no ; then
5083 _freetype=no 5130 _freetype=no
7114 FREETYPE_LIB = $_ld_freetype 7161 FREETYPE_LIB = $_ld_freetype
7115 FONTCONFIG_INC = $_inc_fontconfig 7162 FONTCONFIG_INC = $_inc_fontconfig
7116 FONTCONFIG_LIB = $_ld_fontconfig 7163 FONTCONFIG_LIB = $_ld_fontconfig
7117 FRIBIDI_INC = $_inc_fribidi 7164 FRIBIDI_INC = $_inc_fribidi
7118 FRIBIDI_LIB = $_ld_fribidi 7165 FRIBIDI_LIB = $_ld_fribidi
7166 LIBCDIO_INC = $_inc_libcdio
7167 LIBCDIO_LIB = $_ld_libcdio
7119 LIBLZO_LIB= $_ld_liblzo 7168 LIBLZO_LIB= $_ld_liblzo
7120 MAD_LIB = $_ld_mad 7169 MAD_LIB = $_ld_mad
7121 VORBIS_LIB = $_ld_vorbis $_ld_libdv 7170 VORBIS_LIB = $_ld_vorbis $_ld_libdv
7122 SPEEX_LIB = $_ld_speex 7171 SPEEX_LIB = $_ld_speex
7123 THEORA_LIB = $_ld_theora 7172 THEORA_LIB = $_ld_theora
7220 /* Toggles debugging informations */ 7269 /* Toggles debugging informations */
7221 $_def_debug 7270 $_def_debug
7222 7271
7223 /* Toggles colorized output */ 7272 /* Toggles colorized output */
7224 //#define MSG_USE_COLORS 1 7273 //#define MSG_USE_COLORS 1
7274
7275 /* Indicates that libcdio is available for VCD and CD-DA playback */
7276 $_def_libcdio
7225 7277
7226 /* Indicates that Ogle's libdvdread is available for DVD playback */ 7278 /* Indicates that Ogle's libdvdread is available for DVD playback */
7227 $_def_dvdread 7279 $_def_dvdread
7228 7280
7229 /* Indicates that dvdread is from libmpdvdkit */ 7281 /* Indicates that dvdread is from libmpdvdkit */