0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

configure: make check for stream cache verbose

Also add a minor comment about the stream cache needing pthreads now
to DOCS/crosscompile-mingw.txt.
This commit is contained in:
wm4 2013-06-16 22:11:30 +02:00
parent d81b71c7f7
commit 819a368854
2 changed files with 5 additions and 2 deletions

View File

@ -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).

2
configure vendored
View File

@ -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