diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-11 18:56:17 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-11 18:56:17 +0000 |
commit | f281db94d04540a1ae817084290f1d789deb3d3f (patch) | |
tree | e8887ada72741792323eb66d19a5d3d7b3ef525d /configure | |
parent | 7867137ab227469124197f5592d0fcbd7e3aee8d (diff) | |
download | mpv-f281db94d04540a1ae817084290f1d789deb3d3f.tar.bz2 mpv-f281db94d04540a1ae817084290f1d789deb3d3f.tar.xz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -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 |