mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
optional loader/ (currently it does nothing until the win32 support on cygwin is disabled)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9399 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7867137ab2
commit
f281db94d0
29
configure
vendored
29
configure
vendored
@ -3839,13 +3839,7 @@ if test "$_win32" = auto ; then
|
||||
fi
|
||||
if test "$_win32" = yes ; then
|
||||
_def_win32='#define USE_WIN32DLL 1'
|
||||
_ld_win32='loader/libloader.a'
|
||||
_dep_win32='loader/libloader.a'
|
||||
_codecmodules="win32 $_codecmodules"
|
||||
echores "yes"
|
||||
if openbsd ; then
|
||||
x86 && _ld_win32="$_ld_win32 -li386"
|
||||
fi
|
||||
else
|
||||
_def_win32='#undef USE_WIN32DLL'
|
||||
_nocodecmodules="win32 $_nocodecmodules"
|
||||
@ -3853,6 +3847,23 @@ else
|
||||
echores "no"
|
||||
fi
|
||||
|
||||
if test "$_win32" != no ; then
|
||||
_def_win32_loader='#undef WIN32_LOADER'
|
||||
echocheck "Win32 loader support"
|
||||
if ! cygwin ; then
|
||||
_ld_win32='loader/libloader.a'
|
||||
_dep_win32='loader/libloader.a'
|
||||
_codecmodules="win32 $_codecmodules"
|
||||
if openbsd ; then
|
||||
x86 && _ld_win32="$_ld_win32 -li386"
|
||||
fi
|
||||
_def_win32_loader='#define WIN32_LOADER 1'
|
||||
echores "yes"
|
||||
else
|
||||
echores "no (using native windows)"
|
||||
fi
|
||||
fi
|
||||
|
||||
echocheck "DirectShow"
|
||||
if false ; then
|
||||
|
||||
@ -3944,7 +3955,8 @@ fi
|
||||
echocheck "RealPlayer DLL"
|
||||
if test "$_real" = auto ; then
|
||||
_real=no
|
||||
if test "$_dl" = yes ; then
|
||||
if test "$_dl" = yes || test "$_win32" = yes ; then
|
||||
# if test "$_dl" = yes ; then
|
||||
if linux || freebsd || netbsd || cygwin ; then
|
||||
_real=yes
|
||||
else
|
||||
@ -5133,6 +5145,9 @@ $_def_win32
|
||||
/* DirectShow support */
|
||||
$_def_dshow
|
||||
|
||||
/* Build our Win32-loader */
|
||||
$_def_win32_loader
|
||||
|
||||
/* ffmpeg's libavcodec support (requires libavcodec source) */
|
||||
$_def_libavcodec
|
||||
$_def_libavcodecso
|
||||
|
Loading…
Reference in New Issue
Block a user