[MPlayer-cvslog] r27357 - trunk/configure

diego subversion at mplayerhq.hu
Mon Jul 28 18:36:11 CEST 2008


Author: diego
Date: Mon Jul 28 18:36:11 2008
New Revision: 27357

Log:
Move libdvdcss-specific CFLAG settings to libdvdcss test.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Jul 28 18:36:11 2008
@@ -5463,6 +5463,12 @@ if test "$_libdvdcss_internal" = yes ; t
   elif darwin ; then
     _def_dvd_darwin='#define DARWIN_DVD_IOCTL'
     _ld_extra="$_ld_extra -framework IOKit"
+  elif cygwin ; then
+    CFLAGS="$CFLAGS -DSYS_CYGWIN"
+  elif beos ; then
+    CFLAGS="$CFLAGS -DSYS_BEOS"
+  elif os2 ; then
+    CFLAGS="$CFLAGS -DSYS_OS2"
   fi
   _libdvdcss_dvdread_flags="-Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H"
   _inputmodules="libdvdcss(internal) $_inputmodules"
@@ -7634,9 +7640,6 @@ if test "$_largefiles" = yes || freebsd 
   if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
     # dvdread support requires this (for off64_t)
     CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
-    cygwin && CFLAGS="$CFLAGS -DSYS_CYGWIN"
-    beos && CFLAGS="$CFLAGS -DSYS_BEOS"
-    os2 && CFLAGS="$CFLAGS -DSYS_OS2"
   fi
 fi
 



More information about the MPlayer-cvslog mailing list