comparison configure @ 22348:9879c4598744

Move the decision about stream cache compilation to configure.
author diego
date Tue, 27 Feb 2007 17:13:17 +0000
parents 26c1cc2a22ff
children a10f905b29ff
comparison
equal deleted inserted replaced
22347:c8a46062a210 22348:9879c4598744
641 _pthreads=auto 641 _pthreads=auto
642 _ass=auto 642 _ass=auto
643 _rpath=no 643 _rpath=no
644 _asmalign_pot=auto 644 _asmalign_pot=auto
645 _color_console=no 645 _color_console=no
646 _stream_cache=yes
646 for ac_option do 647 for ac_option do
647 case "$ac_option" in 648 case "$ac_option" in
648 --help|-help|-h) 649 --help|-help|-h)
649 show_help 650 show_help
650 ;; 651 ;;
1284 _exesuf=".exe" 1285 _exesuf=".exe"
1285 # -lwinmm is always needed for osdep/timer-win2.c 1286 # -lwinmm is always needed for osdep/timer-win2.c
1286 _ld_extra="$_ld_extra -lwinmm" 1287 _ld_extra="$_ld_extra -lwinmm"
1287 fi 1288 fi
1288 1289
1290 if mingw32 ; then
1291 _stream_cache=no
1292 fi
1293
1289 # Check how to call 'head' and 'tail'. Newer versions spit out warnings 1294 # Check how to call 'head' and 'tail'. Newer versions spit out warnings
1290 # if used as 'head -1' instead of 'head -n 1', but older versions don't 1295 # if used as 'head -1' instead of 'head -n 1', but older versions don't
1291 # know about '-n'. 1296 # know about '-n'.
1292 if test "`(echo line1 ; echo line2) | head -1 2>/dev/null`" = "line1" ; then 1297 if test "`(echo line1 ; echo line2) | head -1 2>/dev/null`" = "line1" ; then
1293 _head() { head -$1 2>/dev/null ; } 1298 _head() { head -$1 2>/dev/null ; }
7456 7461
7457 MPLAYER_NETWORK = $_network 7462 MPLAYER_NETWORK = $_network
7458 FTP = $_ftp 7463 FTP = $_ftp
7459 STREAMING_LIVE555 = $_live 7464 STREAMING_LIVE555 = $_live
7460 VSTREAM = $_vstream 7465 VSTREAM = $_vstream
7461 STREAM_CACHE = yes 7466 STREAM_CACHE = $_stream_cache
7462 DVBIN = $_dvbin 7467 DVBIN = $_dvbin
7463 VIDIX = $_vidix_internal 7468 VIDIX = $_vidix_internal
7464 EXTERNAL_VIDIX = $_vidix_external 7469 EXTERNAL_VIDIX = $_vidix_external
7465 CONFIG_PP = yes 7470 CONFIG_PP = yes
7466 MP3LAME = $_mp3lame 7471 MP3LAME = $_mp3lame
7734 #define MPLAYER_CONFDIR "$_confdir" 7739 #define MPLAYER_CONFDIR "$_confdir"
7735 #define MPLAYER_LIBDIR "$_libdir" 7740 #define MPLAYER_LIBDIR "$_libdir"
7736 7741
7737 /* Define this to compile stream-caching support, it can be enabled via 7742 /* Define this to compile stream-caching support, it can be enabled via
7738 -cache <kilobytes> */ 7743 -cache <kilobytes> */
7739 #define USE_STREAM_CACHE 1 7744 $_def_stream_cache
7740 7745
7741 /* Define if you are using XviD library */ 7746 /* Define if you are using XviD library */
7742 $_def_xvid 7747 $_def_xvid
7743 7748
7744 /* Define if you are using the X.264 library */ 7749 /* Define if you are using the X.264 library */