Mercurial > mplayer.hg
comparison configure @ 18712:cb7da1894b00
restored support for dvdnav only in the stream layer; all other functionalities are disabled
author | nicodvb |
---|---|
date | Wed, 14 Jun 2006 21:58:17 +0000 |
parents | 86020c65b1d5 |
children | 926079921b48 |
comparison
equal
deleted
inserted
replaced
18711:4d87a5c4611c | 18712:cb7da1894b00 |
---|---|
1612 _faad_external=auto | 1612 _faad_external=auto |
1613 _faac=auto | 1613 _faac=auto |
1614 _ladspa=auto | 1614 _ladspa=auto |
1615 _xmms=no | 1615 _xmms=no |
1616 _have_dvd=no | 1616 _have_dvd=no |
1617 # dvdnav disabled, it does not work | 1617 _dvdnav=no |
1618 #_dvdnav=no | |
1619 _dvdread=auto | 1618 _dvdread=auto |
1620 _dvdkit=auto | 1619 _dvdkit=auto |
1621 _xanim=auto | 1620 _xanim=auto |
1622 _real=auto | 1621 _real=auto |
1623 _live=auto | 1622 _live=auto |
1837 --disable-xmms) _xmms=no ;; | 1836 --disable-xmms) _xmms=no ;; |
1838 --enable-dvdread) _dvdread=yes ;; | 1837 --enable-dvdread) _dvdread=yes ;; |
1839 --disable-dvdread) _dvdread=no ;; | 1838 --disable-dvdread) _dvdread=no ;; |
1840 --enable-mpdvdkit) _dvdkit=yes ;; | 1839 --enable-mpdvdkit) _dvdkit=yes ;; |
1841 --disable-mpdvdkit) _dvdkit=no ;; | 1840 --disable-mpdvdkit) _dvdkit=no ;; |
1842 # dvdnav disabled, it does not work | 1841 --enable-dvdnav) _dvdnav=yes ;; |
1843 # --enable-dvdnav) _dvdnav=yes ;; | 1842 --disable-dvdnav) _dvdnav=no ;; |
1844 # --disable-dvdnav) _dvdnav=no ;; | |
1845 --enable-xanim) _xanim=yes ;; | 1843 --enable-xanim) _xanim=yes ;; |
1846 --disable-xanim) _xanim=no ;; | 1844 --disable-xanim) _xanim=no ;; |
1847 --enable-real) _real=yes ;; | 1845 --enable-real) _real=yes ;; |
1848 --disable-real) _real=no ;; | 1846 --disable-real) _real=no ;; |
1849 --enable-live) _live=yes ;; | 1847 --enable-live) _live=yes ;; |
2014 _charset=`echo $ac_option | cut -d '=' -f 2` | 2012 _charset=`echo $ac_option | cut -d '=' -f 2` |
2015 ;; | 2013 ;; |
2016 --language=*) | 2014 --language=*) |
2017 _language=`echo $ac_option | cut -d '=' -f 2` | 2015 _language=`echo $ac_option | cut -d '=' -f 2` |
2018 ;; | 2016 ;; |
2019 # dvdnav disabled, it does not work | 2017 --with-libdvdnav=*) |
2020 # --with-libdvdnav=*) | 2018 _dvdnavdir=`echo $ac_option | cut -d '=' -f 2` |
2021 # _dvdnavdir=`echo $ac_option | cut -d '=' -f 2` | 2019 _dvdnav=yes |
2022 # _dvdnav=yes | 2020 ;; |
2023 # ;; | |
2024 | 2021 |
2025 --with-codecsdir=*) | 2022 --with-codecsdir=*) |
2026 _win32libdir=`echo $ac_option | cut -d '=' -f 2` | 2023 _win32libdir=`echo $ac_option | cut -d '=' -f 2` |
2027 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` | 2024 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` |
2028 _reallibdir=`echo $ac_option | cut -d '=' -f 2` | 2025 _reallibdir=`echo $ac_option | cut -d '=' -f 2` |
2138 _gtkconfig=`echo $ac_option | cut -d '=' -f 2` | 2135 _gtkconfig=`echo $ac_option | cut -d '=' -f 2` |
2139 ;; | 2136 ;; |
2140 --with-glib-config=*) | 2137 --with-glib-config=*) |
2141 _glibconfig=`echo $ac_option | cut -d '=' -f 2` | 2138 _glibconfig=`echo $ac_option | cut -d '=' -f 2` |
2142 ;; | 2139 ;; |
2143 # dvdnav disabled, it does not work | 2140 --with-dvdnav-config=*) |
2144 # --with-dvdnav-config=*) | 2141 _dvdnavconfig=`echo $ac_option | cut -d '=' -f 2` |
2145 # _dvdnavconfig=`echo $ac_option | cut -d '=' -f 2` | 2142 ;; |
2146 # ;; | |
2147 --with-madlibdir=*) | 2143 --with-madlibdir=*) |
2148 _ld_mad=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` | 2144 _ld_mad=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` |
2149 ;; | 2145 ;; |
2150 --with-cdparanoiaincdir=*) | 2146 --with-cdparanoiaincdir=*) |
2151 _inc_cdparanoia=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | 2147 _inc_cdparanoia=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` |
5186 _def_have_dvd='#define HAVE_DVD 1' | 5182 _def_have_dvd='#define HAVE_DVD 1' |
5187 else | 5183 else |
5188 _def_have_dvd='#undef HAVE_DVD' | 5184 _def_have_dvd='#undef HAVE_DVD' |
5189 fi | 5185 fi |
5190 | 5186 |
5191 # dvdnav disabled, it does not work | 5187 echocheck "DVD support (libdvdnav)" |
5192 # echocheck "DVD support (libdvdnav)" | 5188 if test "$_dvdnav" = yes ; then |
5193 # if test "$_dvdnav" = yes ; then | 5189 cat > $TMPC <<EOF |
5194 # cat > $TMPC <<EOF | 5190 #include <dvdnav.h> |
5195 # #include <dvdnav.h> | 5191 int main(void) { dvdnav_t *dvd=0; return 0; } |
5196 # int main(void) { dvdnav_t *dvd=0; return 0; } | 5192 EOF |
5197 # EOF | 5193 _dvdnav=no |
5198 # _dvdnav=no | 5194 test -n "$_dvdnavdir" && _legal_dvdnavdir=-L$_dvdnavdir/.libs |
5199 # test -n "$_dvdnavdir" && _legal_dvdnavdir=-L$_dvdnavdir/.libs | 5195 if test -z "$_dvdnavconfig" ; then |
5200 # if test -z "$_dvdnavconfig" ; then | 5196 if ( dvdnav-config --version ) >/dev/null 2>&1 ; then |
5201 # if ( dvdnav-config --version ) >/dev/null 2>&1 ; then | 5197 _dvdnavconfig="dvdnav-config" |
5202 # _dvdnavconfig="dvdnav-config" | 5198 fi |
5203 # fi | 5199 fi |
5204 # fi | 5200 test -z "$_dvdnavdir" && test -n "$_dvdnavconfig" && _dvdnavdir=`$_dvdnavconfig --cflags` |
5205 # test -z "$_dvdnavdir" && test -n "$_dvdnavconfig" && _dvdnavdir=`$_dvdnavconfig --cflags` | 5201 _used_css= |
5206 # _used_css= | 5202 #test "$_dvdkit" = no && _used_css=$_ld_css |
5207 # test "$_dvdkit" = no && _used_css=$_ld_css | 5203 cc_check $_inc_extra -I$_dvdnavdir $_legal_dvdnavdir -ldvdnav $_used_css $_ld_dl $_ld_pthread && _dvdnav=yes |
5208 # cc_check $_inc_extra -I$_dvdnavdir $_legal_dvdnavdir -ldvdnav $_used_css $_ld_dl $_ld_pthread && _dvdnav=yes | 5204 fi |
5209 # fi | 5205 if test "$_dvdnav" = yes ; then |
5210 # if test "$_dvdnav" = yes ; then | 5206 _largefiles=yes |
5211 # _largefiles=yes | 5207 _def_dvdnav='#define USE_DVDNAV 1' |
5212 # _def_dvdnav='#define USE_DVDNAV 1' | 5208 _ld_dvdnav= |
5213 # if test -n "$_legal_dvdnavdir" ; then | 5209 if test -n "$_legal_dvdnavdir" ; then |
5214 # _ld_css="$_ld_css $_legal_dvdnavdir -ldvdnav" | 5210 #_ld_css="$_ld_css $_legal_dvdnavdir -ldvdnav" |
5215 # elif test -n "$_dvdnavconfig" ; then | 5211 _ld_dvdnav="$_legal_dvdnavdir -ldvdnav" |
5216 # _ld_css="$_ld_css `$_dvdnavconfig --libs`" | 5212 elif test -n "$_dvdnavconfig" ; then |
5217 # else | 5213 #_ld_css="$_ld_css `$_dvdnavconfig --libs`" |
5218 # _ld_css="$_ld_css -ldvdnav" | 5214 _ld_dvdnav="`$_dvdnavconfig --libs`" |
5219 # fi | 5215 else |
5220 # if test -n "$_dvdnavconfig" ; then | 5216 #_ld_css="$_ld_css -ldvdnav" |
5221 # _dvdnav_version=`$_dvdnavconfig --version | sed "s/\.//g"` | 5217 _ld_dvdnav="-ldvdnav" |
5222 # _def_dvdnav_version="#define DVDNAVVERSION $_dvdnav_version" | 5218 fi |
5223 # fi | 5219 if test -n "$_dvdnavconfig" ; then |
5224 # if test -n "$_dvdnavdir" ; then | 5220 _dvdnav_version=`$_dvdnavconfig --version | sed "s/\.//g"` |
5225 # _inc_extra="$_inc_extra -I$_dvdnavdir" | 5221 _def_dvdnav_version="#define DVDNAVVERSION $_dvdnav_version" |
5226 # fi | 5222 _inc_extra="$_inc_extra `$_dvdnavconfig --cflags`" |
5227 # _inputmodules="dvdnav $_inputmodules" | 5223 fi |
5228 # else | 5224 if test -n "$_dvdnavdir" ; then |
5229 # _def_dvdnav='#undef USE_DVDNAV' | 5225 _inc_extra="$_inc_extra -I$_dvdnavdir" |
5230 # _noinputmodules="dvdnav $_noinputmodules" | 5226 fi |
5231 # fi | 5227 _inputmodules="dvdnav $_inputmodules" |
5232 # echores "$_dvdnav" | 5228 else |
5229 _def_dvdnav='#undef USE_DVDNAV' | |
5230 _noinputmodules="dvdnav $_noinputmodules" | |
5231 fi | |
5232 echores "$_dvdnav" | |
5233 | 5233 |
5234 echocheck "cdparanoia" | 5234 echocheck "cdparanoia" |
5235 if test "$_cdparanoia" = auto ; then | 5235 if test "$_cdparanoia" = auto ; then |
5236 cat > $TMPC <<EOF | 5236 cat > $TMPC <<EOF |
5237 #include <cdda_interface.h> | 5237 #include <cdda_interface.h> |
7473 LIRCC_LIB = $_ld_lircc | 7473 LIRCC_LIB = $_ld_lircc |
7474 HAVE_DVD = $_have_dvd | 7474 HAVE_DVD = $_have_dvd |
7475 DVDREAD = $_dvdread | 7475 DVDREAD = $_dvdread |
7476 DVDREAD_LIB = $_ld_dvdread | 7476 DVDREAD_LIB = $_ld_dvdread |
7477 DVDKIT2 = $_dvdkit | 7477 DVDKIT2 = $_dvdkit |
7478 DVDNAV_LIB = $_ld_dvdnav | |
7478 SDL_INC = $_inc_sdl | 7479 SDL_INC = $_inc_sdl |
7479 W32_DEP = $_dep_win32 | 7480 W32_DEP = $_dep_win32 |
7480 W32_LIB = $_ld_win32 | 7481 W32_LIB = $_ld_win32 |
7481 DS_DEP = $_dep_dshow | 7482 DS_DEP = $_dep_dshow |
7482 DS_LIB = $_ld_dshow | 7483 DS_LIB = $_ld_dshow |