Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
22623:83b333febf31 | 22624:a1af5c533164 |
---|---|
5268 elif darwin ; then | 5268 elif darwin ; then |
5269 _def_dvd_darwin='#define DARWIN_DVD_IOCTL' | 5269 _def_dvd_darwin='#define DARWIN_DVD_IOCTL' |
5270 _ld_extra="$_ld_extra -framework IOKit" | 5270 _ld_extra="$_ld_extra -framework IOKit" |
5271 fi | 5271 fi |
5272 _inputmodules="libdvdcss $_inputmodules" | 5272 _inputmodules="libdvdcss $_inputmodules" |
5273 _largefiles=yes | |
5273 else | 5274 else |
5274 _noinputmodules="libdvdcss $_noinputmodules" | 5275 _noinputmodules="libdvdcss $_noinputmodules" |
5275 fi | 5276 fi |
5276 echores "$_libdvdcss_internal" | 5277 echores "$_libdvdcss_internal" |
5277 | 5278 |
7189 CFLAGS="$CFLAGS -D_THREAD_SAFE" | 7190 CFLAGS="$CFLAGS -D_THREAD_SAFE" |
7190 fi | 7191 fi |
7191 # 64 bit file offsets? | 7192 # 64 bit file offsets? |
7192 if test "$_largefiles" = yes || freebsd ; then | 7193 if test "$_largefiles" = yes || freebsd ; then |
7193 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | 7194 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
7194 if test "$_dvdread" = yes ; then | 7195 if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then |
7195 # dvdread support requires this (for off64_t) | 7196 # dvdread support requires this (for off64_t) |
7196 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" | 7197 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" |
7197 fi | 7198 fi |
7198 fi | 7199 fi |
7199 | 7200 |