Mercurial > mplayer.hg
comparison configure @ 10096:896c5b8856d2
New option: using /codecs for all the binary dlls, initial patch by Diego Biurrun after discussion on -dev-eng
author | alex |
---|---|
date | Sun, 11 May 2003 18:47:18 +0000 |
parents | 51da0282b302 |
children | f327d76a7b6f |
comparison
equal
deleted
inserted
replaced
10095:51da0282b302 | 10096:896c5b8856d2 |
---|---|
4142 _win32=no # x86 arch only | 4142 _win32=no # x86 arch only |
4143 fi | 4143 fi |
4144 fi | 4144 fi |
4145 | 4145 |
4146 if test "$_win32" != no ; then | 4146 if test "$_win32" != no ; then |
4147 echocheck "Win32 codec DLL files path" | |
4148 if test -z "$_win32libdir" ; then | 4147 if test -z "$_win32libdir" ; then |
4149 for I in "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do | 4148 for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do |
4150 if test -d "$I" ; then | 4149 if test -d "$I" ; then |
4151 _win32libdir="$I" | 4150 _win32libdir="$I" |
4152 break; | 4151 break; |
4153 fi; | 4152 fi; |
4154 done | 4153 done |
4155 fi | 4154 fi |
4156 echores "$_win32libdir" | |
4157 fi | 4155 fi |
4158 | 4156 |
4159 echocheck "Win32 codec DLL support" | 4157 echocheck "Win32 codec DLL support" |
4160 if test "$_win32" = auto ; then | 4158 if test "$_win32" = auto ; then |
4161 _win32=no | 4159 _win32=no |
4162 test -n "$_win32libdir" && _win32=yes | 4160 test -n "$_win32libdir" && _win32=yes |
4163 fi | 4161 fi |
4164 if test "$_win32" = yes ; then | 4162 if test "$_win32" = yes ; then |
4165 _def_win32='#define USE_WIN32DLL 1' | 4163 _def_win32='#define USE_WIN32DLL 1' |
4166 echores "yes" | 4164 echores "yes (using $_win32libdir)" |
4167 else | 4165 else |
4168 _def_win32='#undef USE_WIN32DLL' | 4166 _def_win32='#undef USE_WIN32DLL' |
4169 _nocodecmodules="win32 $_nocodecmodules" | 4167 _nocodecmodules="win32 $_nocodecmodules" |
4170 _dshow=no | 4168 _dshow=no |
4171 echores "no" | 4169 echores "no" |
4245 echocheck "XAnim DLL" | 4243 echocheck "XAnim DLL" |
4246 if test "$_xanim" = auto ; then | 4244 if test "$_xanim" = auto ; then |
4247 _xanim=no | 4245 _xanim=no |
4248 if test "$_dl" = yes ; then | 4246 if test "$_dl" = yes ; then |
4249 if test -z "$_xanimlibdir" ; then | 4247 if test -z "$_xanimlibdir" ; then |
4250 for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do | 4248 for I in "$_libdir/codecs" /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do |
4251 if test -d "$I" ; then | 4249 if test -d "$I" ; then |
4252 _xanimlibdir="$I" | 4250 _xanimlibdir="$I" |
4253 break; | 4251 break; |
4254 fi; | 4252 fi; |
4255 done | 4253 done |
4286 else | 4284 else |
4287 echores "no (tested only on Linux/FreeBSD/NetBSD/CygWin)" | 4285 echores "no (tested only on Linux/FreeBSD/NetBSD/CygWin)" |
4288 fi | 4286 fi |
4289 if test "$_real" = yes ; then | 4287 if test "$_real" = yes ; then |
4290 if test -z "$_reallibdir" ; then | 4288 if test -z "$_reallibdir" ; then |
4291 for I in $_libdir/real /usr/lib/real /usr/lib/RealPlayer*/Codecs \ | 4289 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \ |
4292 /usr/local/RealPlayer*/Codecs /usr/local/lib/RealPlayer*/Codecs \ | 4290 /usr/lib/RealPlayer*/Codecs /usr/local/RealPlayer*/Codecs \ |
4293 /opt/RealPlayer*/Codecs; do | 4291 /usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs; do |
4294 if test -d "$I" ; then | 4292 if test -d "$I" ; then |
4295 _reallibdir="$I" | 4293 _reallibdir="$I" |
4296 break; | 4294 break; |
4297 fi; | 4295 fi; |
4298 done | 4296 done |