summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-16 22:07:48 +0200
committerwm4 <wm4@nowhere>2013-06-16 22:07:48 +0200
commitd81b71c7f7cb6f5b3a047fbfeeb41d4888e7c5b6 (patch)
tree0d50b238c1a798db9ef09838800c99653c06e408 /configure
parent4d3a2c7e0dac38546f5fc2c7737a6ec1f09e30f6 (diff)
parentf794444309a826478fefa00bf13d660793066b81 (diff)
downloadmpv-d81b71c7f7cb6f5b3a047fbfeeb41d4888e7c5b6.tar.bz2
mpv-d81b71c7f7cb6f5b3a047fbfeeb41d4888e7c5b6.tar.xz
Merge branch 'cache_new'
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 5 insertions, 10 deletions
diff --git a/configure b/configure
index 0b0913bf8c..d18d1cc547 100755
--- a/configure
+++ b/configure
@@ -493,9 +493,7 @@ libavdevice=auto
_stream_cache=yes
_priority=no
def_dos_paths="#define HAVE_DOS_PATHS 0"
-def_stream_cache="#define CONFIG_STREAM_CACHE 1"
def_priority="#undef CONFIG_PRIORITY"
-def_pthread_cache="#undef PTHREAD_CACHE"
need_shmem=yes
_build_man=auto
for ac_option do
@@ -1453,13 +1451,11 @@ else
fi
echores "$_pthreads"
-if cygwin ; then
- if test "$_pthreads" = yes ; then
- def_pthread_cache="#define PTHREAD_CACHE 1"
- else
- _stream_cache=no
- def_stream_cache="#undef CONFIG_STREAM_CACHE"
- fi
+_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
echocheck "rpath"
@@ -3239,7 +3235,6 @@ $def_priority
/* configurable options */
$def_stream_cache
-$def_pthread_cache
/* CPU stuff */