summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-27 17:13:17 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-27 17:13:17 +0000
commitea41fdf14b13b34e1048fd703fa0b9ce25b55023 (patch)
tree4a2a4e197d4d7a7d30c47344447a1ed9589fba39 /configure
parenta5673ab19c814d641a5a97f63e2143283f95e2fb (diff)
downloadmpv-ea41fdf14b13b34e1048fd703fa0b9ce25b55023.tar.bz2
mpv-ea41fdf14b13b34e1048fd703fa0b9ce25b55023.tar.xz
Move the decision about stream cache compilation to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22366 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure b/configure
index 92b327acad..7092559c9c 100755
--- a/configure
+++ b/configure
@@ -643,6 +643,7 @@ _ass=auto
_rpath=no
_asmalign_pot=auto
_color_console=no
+_stream_cache=yes
for ac_option do
case "$ac_option" in
--help|-help|-h)
@@ -1286,6 +1287,10 @@ if win32 ; then
_ld_extra="$_ld_extra -lwinmm"
fi
+if mingw32 ; then
+ _stream_cache=no
+fi
+
# Check how to call 'head' and 'tail'. Newer versions spit out warnings
# if used as 'head -1' instead of 'head -n 1', but older versions don't
# know about '-n'.
@@ -7458,7 +7463,7 @@ MPLAYER_NETWORK = $_network
FTP = $_ftp
STREAMING_LIVE555 = $_live
VSTREAM = $_vstream
-STREAM_CACHE = yes
+STREAM_CACHE = $_stream_cache
DVBIN = $_dvbin
VIDIX = $_vidix_internal
EXTERNAL_VIDIX = $_vidix_external
@@ -7736,7 +7741,7 @@ $_def_stddef
/* Define this to compile stream-caching support, it can be enabled via
-cache <kilobytes> */
-#define USE_STREAM_CACHE 1
+$_def_stream_cache
/* Define if you are using XviD library */
$_def_xvid