summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-16 22:11:30 +0200
committerwm4 <wm4@nowhere>2013-06-16 22:12:56 +0200
commit819a36885455961105d03de829e819e32de3948c (patch)
treeb00ab3dcc09e6d78fb5a04141a982aed8d3b9999
parentd81b71c7f7cb6f5b3a047fbfeeb41d4888e7c5b6 (diff)
downloadmpv-819a36885455961105d03de829e819e32de3948c.tar.bz2
mpv-819a36885455961105d03de829e819e32de3948c.tar.xz
configure: make check for stream cache verbose
Also add a minor comment about the stream cache needing pthreads now to DOCS/crosscompile-mingw.txt.
-rw-r--r--DOCS/crosscompile-mingw.txt5
-rwxr-xr-xconfigure2
2 files changed, 5 insertions, 2 deletions
diff --git a/DOCS/crosscompile-mingw.txt b/DOCS/crosscompile-mingw.txt
index a3b9e3aab6..0a739a945e 100644
--- a/DOCS/crosscompile-mingw.txt
+++ b/DOCS/crosscompile-mingw.txt
@@ -55,5 +55,6 @@ make
# This should work. For some reason, the resulting .exe will depend on the DLL
# /opt/mingw/usr/i686-w64-mingw32/bin/libwinpthread-1.dll because pthreads-w32
# folks don't like static linking. How to enable static linking is left as
-# exercise for the reader. Passsing --disable-pthreads to mpv's configure will
-# get rid of the dependency, but may disable some features.
+# exercise to the reader. Passsing --disable-pthreads to mpv's configure will
+# get rid of the dependency, but may disable some features (such as the stream
+# cache).
diff --git a/configure b/configure
index d18d1cc547..b9846e570a 100755
--- a/configure
+++ b/configure
@@ -1451,12 +1451,14 @@ else
fi
echores "$_pthreads"
+echocheck "stream cache"
_stream_cache="$_pthreads"
if test "$_stream_cache" = yes ; then
def_stream_cache='#define CONFIG_STREAM_CACHE'
else
def_stream_cache='#undef CONFIG_STREAM_CACHE'
fi
+echores "$_stream_cache"
echocheck "rpath"
if test "$_rpath" = yes ; then