comparison 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
comparison
equal deleted inserted replaced
1427:0ca4e638b696 1428:a90d889eb649
3 # 3 #
4 # MPlayer configurator. (C) 2000 Pontscho/fresh!mindworkz 4 # MPlayer configurator. (C) 2000 Pontscho/fresh!mindworkz
5 # pontscho@makacs.poliod.hu 5 # pontscho@makacs.poliod.hu
6 # 6 #
7 # Changes in reversed order: 7 # Changes in reversed order:
8 #
9 # 2001/07/31 by Steve Davies
10 # - added --enable-largefiles
8 # 11 #
9 # 2001/07/12 by Juergen Keil 12 # 2001/07/12 by Juergen Keil
10 # - add support for non-x86 targets 13 # - add support for non-x86 targets
11 # - add autoconf checks for loader/wine 14 # - add autoconf checks for loader/wine
12 # - fix linux 2.2.x kernel check vs. SSE usage 15 # - fix linux 2.2.x kernel check vs. SSE usage
120 --prefix=DIR use this prefix for installing mplayer [/usr/local] 123 --prefix=DIR use this prefix for installing mplayer [/usr/local]
121 --datadir=DIR use this prefix for installing machine independent 124 --datadir=DIR use this prefix for installing machine independent
122 data [/usr/local/share/mplayer] 125 data [/usr/local/share/mplayer]
123 --enable-debug[=1-3] compile debugging information into mplayer [disable] 126 --enable-debug[=1-3] compile debugging information into mplayer [disable]
124 --enable-profile compile profiling information into mplayer [disable] 127 --enable-profile compile profiling information into mplayer [disable]
128 --enable-largefiles build with support for files >2^32 bytes long [disable]
125 --enable-mmx build with mmx support [autodetect] 129 --enable-mmx build with mmx support [autodetect]
126 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] 130 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect]
127 --enable-3dnow build with 3dnow! support [autodetect] 131 --enable-3dnow build with 3dnow! support [autodetect]
128 --enable-3dnowex build with 3dnow-dsp! support (K7) [autodetect] 132 --enable-3dnowex build with 3dnow-dsp! support (K7) [autodetect]
129 --enable-sse build with sse support [autodetect] 133 --enable-sse build with sse support [autodetect]
960 _profile='-p' 964 _profile='-p'
961 ;; 965 ;;
962 --enable-debug) 966 --enable-debug)
963 _debug='-g' 967 _debug='-g'
964 ;; 968 ;;
969 --enable-largefiles)
970 _largefiles=yes
971 ;;
965 --enable-debug=*) 972 --enable-debug=*)
966 _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2` 973 _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2`
967 ;; 974 ;;
968 --enable-css) 975 --enable-css)
969 _css=yes 976 _css=yes
1573 # for MT applications: 1580 # for MT applications:
1574 if [ "$system_name" = "FreeBSD" ]; then 1581 if [ "$system_name" = "FreeBSD" ]; then
1575 CFLAGS="$CFLAGS -D_THREAD_SAFE" 1582 CFLAGS="$CFLAGS -D_THREAD_SAFE"
1576 fi 1583 fi
1577 1584
1585 # 64 bit file offsets?
1586 if [ "$_largefiles" = "yes" ]; then
1587 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
1588 fi
1589
1578 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak 1590 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak
1579 1591
1580 echo "Creating $CCONF" 1592 echo "Creating $CCONF"
1581 1593
1582 if [ "$_mmx" = "yes" ]; then 1594 if [ "$_mmx" = "yes" ]; then