Mercurial > mplayer.hg
changeset 7034:12a0f744c1f1
prefer libmpdvdkit2 over v1
author | arpi |
---|---|
date | Fri, 16 Aug 2002 23:04:29 +0000 |
parents | 596919e4f601 |
children | 1efd78723952 |
files | configure |
diffstat | 1 files changed, 16 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Aug 16 22:50:22 2002 +0000 +++ b/configure Fri Aug 16 23:04:29 2002 +0000 @@ -3011,13 +3011,19 @@ if test "$_dvdkit" = auto ; then _dvdkit=no if linux || freebsd || netbsd || darwin || cygwin; then + test -f "./libmpdvdkit2/Makefile" && _dvdkit=yes test -f "./libmpdvdkit/Makefile" && _dvdkit=yes fi fi if test "$_dvdkit" = yes ; then if test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || test "$_dvdio" = yes || test "$_bdsi_dvd" = yes || cygwin; then + if test -f "./libmpdvdkit2/Makefile" ; then + _inputmodules="mpdvdkit2 $_inputmodules" + _dvdread=libmpdvdkit2 + else _inputmodules="mpdvdkit $_inputmodules" - _dvdread=included + _dvdread=libmpdvdkit + fi else _noinputmodules="mpdvdkit $_noinputmodules" fi @@ -3087,7 +3093,7 @@ _noinputmodules="dvdread $_noinputmodules" echores "no" ;; - included) + libmpdvdkit) _largefiles=yes _def_dvdread='#define USE_DVDREAD 1' _ld_css='-Llibmpdvdkit -lmpdvdkit' @@ -3095,6 +3101,14 @@ _def_mpdvdkit="#define USE_MPDVDKIT 1" echores "disabled by libmpdvdkit" ;; + libmpdvdkit2) + _largefiles=yes + _def_dvdread='#define USE_DVDREAD 1' + _ld_css='-Llibmpdvdkit2 -lmpdvdkit' + _noinputmodules="dvdread $_noinputmodules" + _def_mpdvdkit="#define USE_MPDVDKIT 2" + echores "disabled by libmpdvdkit2" + ;; esac echocheck "DVD support (libdvdnav)"