Mercurial > mplayer.hg
changeset 6688:a953bd2e49a2
enable mpdvdkit on cygwin, too,
author | atmos4 |
---|---|
date | Wed, 10 Jul 2002 03:02:11 +0000 |
parents | b5cd3ce87bfb |
children | ae6ec1626aa6 |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Jul 09 21:53:29 2002 +0000 +++ b/configure Wed Jul 10 03:02:11 2002 +0000 @@ -2988,14 +2988,16 @@ echocheck "DVD support (libmpdvdkit)" if test "$_dvdkit" = auto ; then _dvdkit=no - if linux || freebsd || netbsd || darwin; then + if linux || freebsd || netbsd || darwin || cygwin; then 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 ; then + if test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || test "$_dvdio" = yes || test "$_bdsi_dvd" = yes || cygwin; then _inputmodules="mpdvdkit $_inputmodules" _dvdread=included + else + _noinputmodules="mpdvdkit $_noinputmodules" fi _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT' _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT' @@ -4391,6 +4393,9 @@ #ifdef sun #define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0" #define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE +#elif defined(WIN32) +#define DEFAULT_CDROM_DEVICE "D:" +#define DEFAULT_DVD_DEVICE "D:" #else #define DEFAULT_CDROM_DEVICE "/dev/cdrom" #define DEFAULT_DVD_DEVICE "/dev/dvd"