Mercurial > mplayer.hg
diff configure @ 1428:a90d889eb649
largefile patch by Stephen Davies <steve@daviesfam.org>
author | arpi |
---|---|
date | Tue, 31 Jul 2001 23:18:16 +0000 |
parents | 0ca4e638b696 |
children | 42bd7f4c500b |
line wrap: on
line diff
--- a/configure Tue Jul 31 22:20:43 2001 +0000 +++ b/configure Tue Jul 31 23:18:16 2001 +0000 @@ -6,6 +6,9 @@ # # Changes in reversed order: # +# 2001/07/31 by Steve Davies +# - added --enable-largefiles +# # 2001/07/12 by Juergen Keil # - add support for non-x86 targets # - add autoconf checks for loader/wine @@ -122,6 +125,7 @@ data [/usr/local/share/mplayer] --enable-debug[=1-3] compile debugging information into mplayer [disable] --enable-profile compile profiling information into mplayer [disable] + --enable-largefiles build with support for files >2^32 bytes long [disable] --enable-mmx build with mmx support [autodetect] --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] --enable-3dnow build with 3dnow! support [autodetect] @@ -962,6 +966,9 @@ --enable-debug) _debug='-g' ;; + --enable-largefiles) + _largefiles=yes + ;; --enable-debug=*) _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2` ;; @@ -1575,6 +1582,11 @@ CFLAGS="$CFLAGS -D_THREAD_SAFE" fi +# 64 bit file offsets? +if [ "$_largefiles" = "yes" ]; then +CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" +fi + # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak echo "Creating $CCONF"