diff configure @ 22624:a1af5c533164

Turn on largefile support for libdvdcss as well.
author diego
date Fri, 16 Mar 2007 22:22:02 +0000
parents 795791668295
children f60ed669c3cf
line wrap: on
line diff
--- a/configure	Fri Mar 16 22:01:41 2007 +0000
+++ b/configure	Fri Mar 16 22:22:02 2007 +0000
@@ -5270,6 +5270,7 @@
     _ld_extra="$_ld_extra -framework IOKit"
   fi
   _inputmodules="libdvdcss $_inputmodules"
+  _largefiles=yes
 else
   _noinputmodules="libdvdcss $_noinputmodules"
 fi
@@ -7191,7 +7192,7 @@
 # 64 bit file offsets?
 if test "$_largefiles" = yes || freebsd ; then
   CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-  if test "$_dvdread" = yes ; then
+  if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
     # dvdread support requires this (for off64_t)
     CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
   fi