diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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" |