comparison configure @ 10097:f327d76a7b6f

last cygwin/mingw32 binary codecs support (win32codecs + real) patch by Sascha Sommer
author alex
date Sun, 11 May 2003 18:53:12 +0000
parents 896c5b8856d2
children 00c091706a73
comparison
equal deleted inserted replaced
10096:896c5b8856d2 10097:f327d76a7b6f
4134 echores "$_faad" 4134 echores "$_faad"
4135 fi 4135 fi
4136 4136
4137 if test "$_win32" = auto ; then 4137 if test "$_win32" = auto ; then
4138 if x86 ; then 4138 if x86 ; then
4139 cygwin && _win32=no # Win32 DLLs not supported under Cygwin
4140 qnx && _win32=no 4139 qnx && _win32=no
4141 else 4140 else
4142 _win32=no # x86 arch only 4141 _win32=no # x86 arch only
4143 fi 4142 fi
4144 fi 4143 fi
4145 4144
4146 if test "$_win32" != no ; then 4145 if test "$_win32" != no ; then
4146 if test -z "$_win32libdir" ; then
4147 if cygwin || mingw32 ; then
4148 _win32libdir="codecs"
4149 fi
4150 fi
4147 if test -z "$_win32libdir" ; then 4151 if test -z "$_win32libdir" ; then
4148 for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do 4152 for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do
4149 if test -d "$I" ; then 4153 if test -d "$I" ; then
4150 _win32libdir="$I" 4154 _win32libdir="$I"
4151 break; 4155 break;
4170 fi 4174 fi
4171 4175
4172 if test "$_win32" != no ; then 4176 if test "$_win32" != no ; then
4173 _def_win32_loader='#undef WIN32_LOADER' 4177 _def_win32_loader='#undef WIN32_LOADER'
4174 echocheck "Win32 loader support" 4178 echocheck "Win32 loader support"
4175 if not cygwin ; then 4179 if not cygwin && not mingw32 ; then
4176 _ld_win32='loader/libloader.a' 4180 _ld_win32='loader/libloader.a'
4177 _dep_win32='loader/libloader.a' 4181 _dep_win32='loader/libloader.a'
4178 _codecmodules="win32 $_codecmodules" 4182 _codecmodules="win32 $_codecmodules"
4179 if openbsd ; then 4183 if openbsd ; then
4180 x86 && _ld_win32="$_ld_win32 -li386" 4184 x86 && _ld_win32="$_ld_win32 -li386"
4181 fi 4185 fi
4182 _def_win32_loader='#define WIN32_LOADER 1' 4186 _def_win32_loader='#define WIN32_LOADER 1'
4183 echores "yes" 4187 echores "yes"
4184 else 4188 else
4189 _ld_win32='loader/driver.o loader/vfl.o loader/afl.o'
4190 _dep_win32='loader/driver.o loader/vfl.o loader/afl.o'
4191 _ld_win32libs="$_ld_win32libs -ladvapi32 -lole32"
4192 _codecmodules="win32 $_codecmodules"
4185 echores "no (using native windows)" 4193 echores "no (using native windows)"
4186 fi 4194 fi
4187 fi 4195 fi
4188 4196
4189 echocheck "DirectShow" 4197 echocheck "DirectShow"
4277 echocheck "RealPlayer DLL" 4285 echocheck "RealPlayer DLL"
4278 if test "$_real" = auto ; then 4286 if test "$_real" = auto ; then
4279 _real=no 4287 _real=no
4280 if test "$_dl" = yes || test "$_win32" = yes ; then 4288 if test "$_dl" = yes || test "$_win32" = yes ; then
4281 # if test "$_dl" = yes ; then 4289 # if test "$_dl" = yes ; then
4282 if linux || freebsd || netbsd || cygwin ; then 4290 if linux || freebsd || netbsd || cygwin || mingw32 ; then
4283 _real=yes 4291 _real=yes
4284 else 4292 else
4285 echores "no (tested only on Linux/FreeBSD/NetBSD/CygWin)" 4293 echores "no (tested only on Linux/FreeBSD/NetBSD/Cygwin/MINGW32)"
4286 fi 4294 fi
4287 if test "$_real" = yes ; then 4295 if test "$_real" = yes ; then
4296 if test -z "$_reallibdir" ; then
4297 if cygwin || mingw32 ; then
4298 _reallibdir="codecs"
4299 fi
4300 fi
4288 if test -z "$_reallibdir" ; then 4301 if test -z "$_reallibdir" ; then
4289 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \ 4302 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \
4290 /usr/lib/RealPlayer*/Codecs /usr/local/RealPlayer*/Codecs \ 4303 /usr/lib/RealPlayer*/Codecs /usr/local/RealPlayer*/Codecs \
4291 /usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs; do 4304 /usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs; do
4292 if test -d "$I" ; then 4305 if test -d "$I" ; then
5922 Use --enable-sdl to force usage of libSDL. 5935 Use --enable-sdl to force usage of libSDL.
5923 5936
5924 EOF 5937 EOF
5925 fi 5938 fi
5926 5939
5927 if x86 && not cygwin; then 5940 if x86; then
5928 if test "$_win32" = no ; then 5941 if test "$_win32" = no ; then
5929 if test "$_win32libdir" ; then 5942 if test "$_win32libdir" ; then
5930 cat <<EOF 5943 cat <<EOF
5931 Failed to find a Win32 codecs dir at $_win32libdir! 5944 Failed to find a Win32 codecs dir at $_win32libdir!
5932 Create it and copy the DLL files there! (You can get them from your Windows 5945 Create it and copy the DLL files there! (You can get them from your Windows
5950 fi 5963 fi
5951 fi 5964 fi
5952 else 5965 else
5953 cat <<EOF 5966 cat <<EOF
5954 NOTE: Win32 codec DLLs are not supported on your CPU ($host_arch) or your 5967 NOTE: Win32 codec DLLs are not supported on your CPU ($host_arch) or your
5955 operating system ($system_name). Why don't you help us port it? 5968 operating system ($system_name). You may encounter a few AVI files that
5956 You may encounter a few AVI files that cannot be played due to missing 5969 cannot be played due to missing Open Source video/audio codec support.
5957 Open Source video/audio codec support.
5958 5970
5959 EOF 5971 EOF
5960 fi 5972 fi
5961 5973
5962 5974