Mercurial > mplayer.hg
comparison configure @ 9398:d709935c512d
optional loader/ (currently it does nothing until the win32 support on cygwin is disabled)
author | alex |
---|---|
date | Tue, 11 Feb 2003 18:56:17 +0000 |
parents | dd0874f98cdb |
children | 647fa464f914 |
comparison
equal
deleted
inserted
replaced
9397:210dc7d7f9e5 | 9398:d709935c512d |
---|---|
3837 _win32=no | 3837 _win32=no |
3838 test -n "$_win32libdir" && _win32=yes | 3838 test -n "$_win32libdir" && _win32=yes |
3839 fi | 3839 fi |
3840 if test "$_win32" = yes ; then | 3840 if test "$_win32" = yes ; then |
3841 _def_win32='#define USE_WIN32DLL 1' | 3841 _def_win32='#define USE_WIN32DLL 1' |
3842 _ld_win32='loader/libloader.a' | |
3843 _dep_win32='loader/libloader.a' | |
3844 _codecmodules="win32 $_codecmodules" | |
3845 echores "yes" | 3842 echores "yes" |
3846 if openbsd ; then | |
3847 x86 && _ld_win32="$_ld_win32 -li386" | |
3848 fi | |
3849 else | 3843 else |
3850 _def_win32='#undef USE_WIN32DLL' | 3844 _def_win32='#undef USE_WIN32DLL' |
3851 _nocodecmodules="win32 $_nocodecmodules" | 3845 _nocodecmodules="win32 $_nocodecmodules" |
3852 _dshow=no | 3846 _dshow=no |
3853 echores "no" | 3847 echores "no" |
3848 fi | |
3849 | |
3850 if test "$_win32" != no ; then | |
3851 _def_win32_loader='#undef WIN32_LOADER' | |
3852 echocheck "Win32 loader support" | |
3853 if ! cygwin ; then | |
3854 _ld_win32='loader/libloader.a' | |
3855 _dep_win32='loader/libloader.a' | |
3856 _codecmodules="win32 $_codecmodules" | |
3857 if openbsd ; then | |
3858 x86 && _ld_win32="$_ld_win32 -li386" | |
3859 fi | |
3860 _def_win32_loader='#define WIN32_LOADER 1' | |
3861 echores "yes" | |
3862 else | |
3863 echores "no (using native windows)" | |
3864 fi | |
3854 fi | 3865 fi |
3855 | 3866 |
3856 echocheck "DirectShow" | 3867 echocheck "DirectShow" |
3857 if false ; then | 3868 if false ; then |
3858 | 3869 |
3942 fi | 3953 fi |
3943 | 3954 |
3944 echocheck "RealPlayer DLL" | 3955 echocheck "RealPlayer DLL" |
3945 if test "$_real" = auto ; then | 3956 if test "$_real" = auto ; then |
3946 _real=no | 3957 _real=no |
3947 if test "$_dl" = yes ; then | 3958 if test "$_dl" = yes || test "$_win32" = yes ; then |
3959 # if test "$_dl" = yes ; then | |
3948 if linux || freebsd || netbsd || cygwin ; then | 3960 if linux || freebsd || netbsd || cygwin ; then |
3949 _real=yes | 3961 _real=yes |
3950 else | 3962 else |
3951 echores "no (tested only on Linux/FreeBSD/NetBSD/CygWin)" | 3963 echores "no (tested only on Linux/FreeBSD/NetBSD/CygWin)" |
3952 fi | 3964 fi |
5131 $_def_win32 | 5143 $_def_win32 |
5132 | 5144 |
5133 /* DirectShow support */ | 5145 /* DirectShow support */ |
5134 $_def_dshow | 5146 $_def_dshow |
5135 | 5147 |
5148 /* Build our Win32-loader */ | |
5149 $_def_win32_loader | |
5150 | |
5136 /* ffmpeg's libavcodec support (requires libavcodec source) */ | 5151 /* ffmpeg's libavcodec support (requires libavcodec source) */ |
5137 $_def_libavcodec | 5152 $_def_libavcodec |
5138 $_def_libavcodecso | 5153 $_def_libavcodecso |
5139 | 5154 |
5140 /* risky codecs */ | 5155 /* risky codecs */ |