[Mplayer-cvslog] CVS: main configure,1.519,1.520

Atmosfear atmos4 at mplayerhq.hu
Wed Jul 10 05:02:14 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv15332

Modified Files:
	configure 
Log Message:
enable mpdvdkit on cygwin, too,


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.519
retrieving revision 1.520
diff -u -r1.519 -r1.520
--- configure	8 Jul 2002 23:29:02 -0000	1.519
+++ configure	10 Jul 2002 03:02:11 -0000	1.520
@@ -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"




More information about the MPlayer-cvslog mailing list