Mercurial > mplayer.hg
comparison configure @ 10535:784715bd119d
(nonworking) dvdnav commented out as discussed on dev-eng.
author | diego |
---|---|
date | Wed, 06 Aug 2003 22:05:20 +0000 |
parents | bee0c132863a |
children | 31f12f99118b |
comparison
equal
deleted
inserted
replaced
10534:4624b4c3491e | 10535:784715bd119d |
---|---|
156 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] | 156 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] |
157 --disable-network disable network support (for: http/mms/rtp) [enable] | 157 --disable-network disable network support (for: http/mms/rtp) [enable] |
158 --enable-winsock2 enable winsock2 usage [autodetect] | 158 --enable-winsock2 enable winsock2 usage [autodetect] |
159 --enable-smb enable Samba (SMB) input support [autodetect] | 159 --enable-smb enable Samba (SMB) input support [autodetect] |
160 --enable-live enable LIVE.COM Streaming Media support [disable] | 160 --enable-live enable LIVE.COM Streaming Media support [disable] |
161 --enable-dvdnav enable dvdnav support (DOES NOT WORK!!!) [disable] | |
162 --disable-dvdread Disable libdvdread support [autodetect] | 161 --disable-dvdread Disable libdvdread support [autodetect] |
163 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] | 162 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] |
164 --disable-css Disable old-style libcss DVD support [autodetect] | 163 --disable-css Disable old-style libcss DVD support [autodetect] |
165 --disable-cdparanoia Disable cdparanoia support [autodetect] | 164 --disable-cdparanoia Disable cdparanoia support [autodetect] |
166 --disable-freetype Disable freetype2 font rendering support [autodetect] | 165 --disable-freetype Disable freetype2 font rendering support [autodetect] |
282 --with-x11libdir=DIR X library files in DIR | 281 --with-x11libdir=DIR X library files in DIR |
283 --with-dxr2incdir=DIR DXR2 headers in DIR | 282 --with-dxr2incdir=DIR DXR2 headers in DIR |
284 --with-csslibdir=DIR libcss in DIR | 283 --with-csslibdir=DIR libcss in DIR |
285 --with-madlibdir=DIR libmad (libmad shared library) in DIR | 284 --with-madlibdir=DIR libmad (libmad shared library) in DIR |
286 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only) | 285 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only) |
287 --with-libdvdnav=DIR libdvdnav in DIR | |
288 --with-codecsdir=DIR Binary codec files in DIR | 286 --with-codecsdir=DIR Binary codec files in DIR |
289 --with-win32libdir=DIR W*ndows DLL files in DIR | 287 --with-win32libdir=DIR W*ndows DLL files in DIR |
290 --with-xanimlibdir=DIR XAnim DLL files in DIR | 288 --with-xanimlibdir=DIR XAnim DLL files in DIR |
291 --with-reallibdir=DIR RealPlayer DLL files in DIR | 289 --with-reallibdir=DIR RealPlayer DLL files in DIR |
292 --with-xvmclib=PATH path to adapter specific XvMCxxxxx.so (e.g. NVIDIA) | 290 --with-xvmclib=PATH path to adapter specific XvMCxxxxx.so (e.g. NVIDIA) |
295 --with-sdl-config=PATH path to sdl*-config (e.g. /opt/bin/sdl-config) | 293 --with-sdl-config=PATH path to sdl*-config (e.g. /opt/bin/sdl-config) |
296 --with-freetype-config=PATH path to freetype-config | 294 --with-freetype-config=PATH path to freetype-config |
297 (e.g. /opt/bin/freetype-config) | 295 (e.g. /opt/bin/freetype-config) |
298 --with-gtk-config=PATH path to gtk*-config (e.g. /opt/bin/gtk-config) | 296 --with-gtk-config=PATH path to gtk*-config (e.g. /opt/bin/gtk-config) |
299 --with-glib-config=PATH path to glib*-config (e.g. /opt/bin/glib-config) | 297 --with-glib-config=PATH path to glib*-config (e.g. /opt/bin/glib-config) |
300 --with-dvdnav-config=PATH path to dvdnav-config | |
301 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries | 298 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries |
302 --with-xmmsplugindir=DIR path to xmms plugins | 299 --with-xmmsplugindir=DIR path to xmms plugins |
303 --with-xmmslibdir=DIR path to libxmms.so.1 | 300 --with-xmmslibdir=DIR path to libxmms.so.1 |
304 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR | 301 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR |
305 --with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR | 302 --with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR |
1072 _matroska=auto | 1069 _matroska=auto |
1073 _tremor=no | 1070 _tremor=no |
1074 _faad=auto | 1071 _faad=auto |
1075 _xmms=no | 1072 _xmms=no |
1076 _css=auto | 1073 _css=auto |
1077 _dvdnav=no | 1074 # dvdnav disabled, it does not work |
1075 #_dvdnav=no | |
1078 _dvdread=auto | 1076 _dvdread=auto |
1079 _dvdkit=auto | 1077 _dvdkit=auto |
1080 _xanim=auto | 1078 _xanim=auto |
1081 _real=auto | 1079 _real=auto |
1082 _live=no | 1080 _live=no |
1238 --disable-css) _css=no ;; | 1236 --disable-css) _css=no ;; |
1239 --enable-dvdread) _dvdread=yes ;; | 1237 --enable-dvdread) _dvdread=yes ;; |
1240 --disable-dvdread) _dvdread=no ;; | 1238 --disable-dvdread) _dvdread=no ;; |
1241 --enable-mpdvdkit) _dvdkit=yes ;; | 1239 --enable-mpdvdkit) _dvdkit=yes ;; |
1242 --disable-mpdvdkit) _dvdkit=no ;; | 1240 --disable-mpdvdkit) _dvdkit=no ;; |
1243 --enable-dvdnav) _dvdnav=yes ;; | 1241 # dvdnav disabled, it does not work |
1244 --disable-dvdnav) _dvdnav=no ;; | 1242 # --enable-dvdnav) _dvdnav=yes ;; |
1243 # --disable-dvdnav) _dvdnav=no ;; | |
1245 --enable-xanim) _xanim=yes ;; | 1244 --enable-xanim) _xanim=yes ;; |
1246 --disable-xanim) _xanim=no ;; | 1245 --disable-xanim) _xanim=no ;; |
1247 --enable-real) _real=yes ;; | 1246 --enable-real) _real=yes ;; |
1248 --disable-real) _real=no ;; | 1247 --disable-real) _real=no ;; |
1249 --enable-live) _live=yes ;; | 1248 --enable-live) _live=yes ;; |
1367 --disable-sortsub) _sortsub=no ;; | 1366 --disable-sortsub) _sortsub=no ;; |
1368 | 1367 |
1369 --language=*) | 1368 --language=*) |
1370 _language=`echo $ac_option | cut -d '=' -f 2` | 1369 _language=`echo $ac_option | cut -d '=' -f 2` |
1371 ;; | 1370 ;; |
1372 --with-libdvdnav=*) | 1371 # dvdnav disabled, it does not work |
1373 _dvdnavdir=`echo $ac_option | cut -d '=' -f 2` | 1372 # --with-libdvdnav=*) |
1374 _dvdnav=yes | 1373 # _dvdnavdir=`echo $ac_option | cut -d '=' -f 2` |
1375 ;; | 1374 # _dvdnav=yes |
1375 # ;; | |
1376 | 1376 |
1377 --with-codecsdir=*) | 1377 --with-codecsdir=*) |
1378 _win32libdir=`echo $ac_option | cut -d '=' -f 2` | 1378 _win32libdir=`echo $ac_option | cut -d '=' -f 2` |
1379 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` | 1379 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` |
1380 _reallibdir=`echo $ac_option | cut -d '=' -f 2` | 1380 _reallibdir=`echo $ac_option | cut -d '=' -f 2` |
1477 _gtkconfig=`echo $ac_option | cut -d '=' -f 2` | 1477 _gtkconfig=`echo $ac_option | cut -d '=' -f 2` |
1478 ;; | 1478 ;; |
1479 --with-glib-config=*) | 1479 --with-glib-config=*) |
1480 _glibconfig=`echo $ac_option | cut -d '=' -f 2` | 1480 _glibconfig=`echo $ac_option | cut -d '=' -f 2` |
1481 ;; | 1481 ;; |
1482 --with-dvdnav-config=*) | 1482 # dvdnav disabled, it does not work |
1483 _dvdnavconfig=`echo $ac_option | cut -d '=' -f 2` | 1483 # --with-dvdnav-config=*) |
1484 ;; | 1484 # _dvdnavconfig=`echo $ac_option | cut -d '=' -f 2` |
1485 # ;; | |
1485 --with-madlibdir=*) | 1486 --with-madlibdir=*) |
1486 _ld_mad=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` | 1487 _ld_mad=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` |
1487 ;; | 1488 ;; |
1488 --with-cdparanoiaincdir=*) | 1489 --with-cdparanoiaincdir=*) |
1489 _inc_cdparanoia=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | 1490 _inc_cdparanoia=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` |
3902 _def_mpdvdkit="#define USE_MPDVDKIT 2" | 3903 _def_mpdvdkit="#define USE_MPDVDKIT 2" |
3903 echores "disabled by libmpdvdkit2" | 3904 echores "disabled by libmpdvdkit2" |
3904 ;; | 3905 ;; |
3905 esac | 3906 esac |
3906 | 3907 |
3907 echocheck "DVD support (libdvdnav)" | 3908 # dvdnav disabled, it does not work |
3908 if test "$_dvdnav" = yes ; then | 3909 # echocheck "DVD support (libdvdnav)" |
3909 cat > $TMPC <<EOF | 3910 # if test "$_dvdnav" = yes ; then |
3910 #include <dvdnav.h> | 3911 # cat > $TMPC <<EOF |
3911 int main(void) { dvdnav_t *dvd=0; return 0; } | 3912 # #include <dvdnav.h> |
3912 EOF | 3913 # int main(void) { dvdnav_t *dvd=0; return 0; } |
3913 _dvdnav=no | 3914 # EOF |
3914 test -n "$_dvdnavdir" && _legal_dvdnavdir=-L$_dvdnavdir/.libs | 3915 # _dvdnav=no |
3915 if test -z "$_dvdnavconfig" ; then | 3916 # test -n "$_dvdnavdir" && _legal_dvdnavdir=-L$_dvdnavdir/.libs |
3916 if ( dvdnav-config --version ) >/dev/null 2>&1 ; then | 3917 # if test -z "$_dvdnavconfig" ; then |
3917 _dvdnavconfig="dvdnav-config" | 3918 # if ( dvdnav-config --version ) >/dev/null 2>&1 ; then |
3918 fi | 3919 # _dvdnavconfig="dvdnav-config" |
3919 fi | 3920 # fi |
3920 test -z "$_dvdnavdir" && test -n "$_dvdnavconfig" && _dvdnavdir=`$_dvdnavconfig --cflags` | 3921 # fi |
3921 _used_css= | 3922 # test -z "$_dvdnavdir" && test -n "$_dvdnavconfig" && _dvdnavdir=`$_dvdnavconfig --cflags` |
3922 test "$_dvdkit" = no && test "$_dvdkit2" = no && _used_css=$_ld_css | 3923 # _used_css= |
3923 cc_check $_inc_extra -I$_dvdnavdir $_legal_dvdnavdir -ldvdnav $_used_css $_ld_dl $_ld_pthread && _dvdnav=yes | 3924 # test "$_dvdkit" = no && test "$_dvdkit2" = no && _used_css=$_ld_css |
3924 fi | 3925 # cc_check $_inc_extra -I$_dvdnavdir $_legal_dvdnavdir -ldvdnav $_used_css $_ld_dl $_ld_pthread && _dvdnav=yes |
3925 if test "$_dvdnav" = yes ; then | 3926 # fi |
3926 cat <<EOF | 3927 # if test "$_dvdnav" = yes ; then |
3927 | 3928 # _largefiles=yes |
3928 !!! WARNING: DVDNAV DOES NOT WORK! | 3929 # _def_dvdnav='#define USE_DVDNAV 1' |
3929 !!! Do not send bugreports regarding dvdnav support! | 3930 # if test -n "$_legal_dvdnavdir" ; then |
3930 !!! If you want dvdnav, wait for MPlayer G2, send a PATCH, | 3931 # _ld_css="$_ld_css $_legal_dvdnavdir -ldvdnav" |
3931 !!! or use a different movie player for DVDs. | 3932 # elif test -n "$_dvdnavconfig" ; then |
3932 | 3933 # _ld_css="$_ld_css `$_dvdnavconfig --libs`" |
3933 EOF | 3934 # else |
3934 _largefiles=yes | 3935 # _ld_css="$_ld_css -ldvdnav" |
3935 _def_dvdnav='#define USE_DVDNAV 1' | 3936 # fi |
3936 if test -n "$_legal_dvdnavdir" ; then | 3937 # if test -n "$_dvdnavconfig" ; then |
3937 _ld_css="$_ld_css $_legal_dvdnavdir -ldvdnav" | 3938 # _dvdnav_version=`$_dvdnavconfig --version | sed "s/\.//g"` |
3938 elif test -n "$_dvdnavconfig" ; then | 3939 # _def_dvdnav_version="#define DVDNAVVERSION $_dvdnav_version" |
3939 _ld_css="$_ld_css `$_dvdnavconfig --libs`" | 3940 # fi |
3940 else | 3941 # if test -n "$_dvdnavdir" ; then |
3941 _ld_css="$_ld_css -ldvdnav" | 3942 # _inc_extra="$_inc_extra -I$_dvdnavdir" |
3942 fi | 3943 # fi |
3943 if test -n "$_dvdnavconfig" ; then | 3944 # _inputmodules="dvdnav $_inputmodules" |
3944 _dvdnav_version=`$_dvdnavconfig --version | sed "s/\.//g"` | 3945 # echores "yes" |
3945 _def_dvdnav_version="#define DVDNAVVERSION $_dvdnav_version" | 3946 # else |
3946 fi | 3947 # _def_dvdnav='#undef USE_DVDNAV' |
3947 if test -n "$_dvdnavdir" ; then | 3948 # _noinputmodules="dvdnav $_noinputmodules" |
3948 _inc_extra="$_inc_extra -I$_dvdnavdir" | 3949 # echores "no" |
3949 fi | 3950 # fi |
3950 _inputmodules="dvdnav $_inputmodules" | |
3951 echores "yes" | |
3952 else | |
3953 _def_dvdnav='#undef USE_DVDNAV' | |
3954 _noinputmodules="dvdnav $_noinputmodules" | |
3955 echores "no" | |
3956 fi | |
3957 | 3951 |
3958 echocheck "cdparanoia" | 3952 echocheck "cdparanoia" |
3959 if test "$_cdparanoia" = auto ; then | 3953 if test "$_cdparanoia" = auto ; then |
3960 cat > $TMPC <<EOF | 3954 cat > $TMPC <<EOF |
3961 #include <cdda_interface.h> | 3955 #include <cdda_interface.h> |