summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index f01c515c54..d18d1cc547 100755
--- a/configure
+++ b/configure
@@ -493,7 +493,6 @@ 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"
need_shmem=yes
_build_man=auto
@@ -1452,9 +1451,11 @@ else
fi
echores "$_pthreads"
-if cygwin || mingw32 ; then
- _stream_cache=no
- def_stream_cache="#undef CONFIG_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
echocheck "rpath"