Mercurial > mplayer.hg
changeset 18021:976fff94d59c
Remove mpdvdkit1 cruft from the build system.
author | diego |
---|---|
date | Sun, 02 Apr 2006 13:31:03 +0000 |
parents | cddd588f8d8a |
children | b5b16f92b842 |
files | Makefile configure libmpdemux/stream.h |
diffstat | 3 files changed, 5 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sun Apr 02 13:15:20 2006 +0000 +++ b/Makefile Sun Apr 02 13:31:03 2006 +0000 @@ -193,9 +193,6 @@ ifeq ($(DVDKIT2),yes) PARTS += libmpdvdkit2 else -ifeq ($(DVDKIT),yes) -PARTS += libmpdvdkit -endif endif ifeq ($(GUI),yes) PARTS += Gui
--- a/configure Sun Apr 02 13:15:20 2006 +0000 +++ b/configure Sun Apr 02 13:31:03 2006 +0000 @@ -204,7 +204,7 @@ --enable-smb enable Samba (SMB) input support [autodetect] --enable-live enable LIVE555 Streaming Media support [autodetect] --disable-dvdread Disable libdvdread support [autodetect] - --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] + --disable-mpdvdkit Disable mpdvdkit2 support [autodetect] --disable-cdparanoia Disable cdparanoia support [autodetect] --disable-freetype Disable freetype2 font rendering support [autodetect] --disable-fontconfig Disable fontconfig font lookup support [autodetect] @@ -4971,22 +4971,16 @@ _dvdkit=no if linux || freebsd || netbsd || darwin || openbsd || win32 || sunos || hpux; 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 "$_bsdi_dvd" = yes || test "$_hpux_scsi_h" = yes || darwin || win32 ; then - if test -f "./libmpdvdkit2/Makefile" ; then _inputmodules="mpdvdkit2 $_inputmodules" _dvdread=libmpdvdkit2 _dvdkit2=yes _dvdkit=no - else - _inputmodules="mpdvdkit $_inputmodules" - _dvdread=libmpdvdkit - fi else - _noinputmodules="mpdvdkit $_noinputmodules" + _noinputmodules="mpdvdkit2 $_noinputmodules" fi _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT' _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT' @@ -5007,9 +5001,9 @@ fi fi else - _noinputmodules="mpdvdkit $_noinputmodules" -fi -if test "$_dvdkit" = yes || test "$_dvdkit2" = yes; then + _noinputmodules="mpdvdkit2 $_noinputmodules" +fi +if test "$_dvdkit2" = yes; then _have_dvd=yes echores "yes" else @@ -5048,15 +5042,6 @@ _noinputmodules="dvdread $_noinputmodules" echores "no" ;; - libmpdvdkit) - _largefiles=yes - _def_dvdread='#define USE_DVDREAD 1' - _ld_dvdread='-Llibmpdvdkit -lmpdvdkit' - _noinputmodules="dvdread $_noinputmodules" - _def_mpdvdkit="#define USE_MPDVDKIT 1" - _have_dvd=yes - echores "disabled by libmpdvdkit" - ;; libmpdvdkit2) _largefiles=yes _def_dvdread='#define USE_DVDREAD 1' @@ -7318,7 +7303,6 @@ HAVE_DVD = $_have_dvd DVDREAD = $_dvdread DVDREAD_LIB = $_ld_dvdread -DVDKIT = $_dvdkit DVDKIT2 = $_dvdkit2 SDL_INC = $_inc_sdl W32_DEP = $_dep_win32
--- a/libmpdemux/stream.h Sun Apr 02 13:15:20 2006 +0000 +++ b/libmpdemux/stream.h Sun Apr 02 13:31:03 2006 +0000 @@ -299,18 +299,11 @@ #ifdef USE_DVDREAD #ifdef USE_MPDVDKIT -#if (USE_MPDVDKIT == 2) #include "libmpdvdkit2/dvd_reader.h" #include "libmpdvdkit2/ifo_types.h" #include "libmpdvdkit2/ifo_read.h" #include "libmpdvdkit2/nav_read.h" #else -#include "libmpdvdkit/dvd_reader.h" -#include "libmpdvdkit/ifo_types.h" -#include "libmpdvdkit/ifo_read.h" -#include "libmpdvdkit/nav_read.h" -#endif -#else #include <dvdread/dvd_reader.h> #include <dvdread/ifo_types.h> #include <dvdread/ifo_read.h>