diff configure @ 24071:e8aa0449e8fd

Add libdvdcss-specific CFLAGS in the correct place.
author diego
date Sat, 18 Aug 2007 09:39:56 +0000
parents 3b3087e40101
children a2543c0f8cee
line wrap: on
line diff
--- a/configure	Sat Aug 18 05:32:45 2007 +0000
+++ b/configure	Sat Aug 18 09:39:56 2007 +0000
@@ -7411,7 +7411,7 @@
   CFLAGS="$CFLAGS -D_THREAD_SAFE"
 fi
 if cygwin ; then
-  CFLAGS="$CFLAGS -D__CYGWIN__ -DSYS_CYGWIN"
+  CFLAGS="$CFLAGS -D__CYGWIN__"
 fi
 # 64 bit file offsets?
 if test "$_largefiles" = yes || freebsd ; then
@@ -7419,6 +7419,7 @@
   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"
   fi
 fi