comparison configure @ 20554:82733372759f

Fix codec directory fallback, it was overriding the autodetection.
author diego
date Tue, 31 Oct 2006 17:55:54 +0000
parents 1571b79fd95e
children 5b4b6088992b
comparison
equal deleted inserted replaced
20553:4db6f615ca38 20554:82733372759f
5970 if test -d "$I" ; then 5970 if test -d "$I" ; then
5971 _win32codecsdir="$I" 5971 _win32codecsdir="$I"
5972 break; 5972 break;
5973 fi; 5973 fi;
5974 done 5974 done
5975 _win32codecsdir="$_codecsdir"
5976 # Fall back on a subfolder of the current dir on Windows
5977 mingw32 && _win32codecsdir="codecs"
5978 fi 5975 fi
5976 # Fall back on default directory.
5977 if test -z "$_win32codecsdir" ; then
5978 _win32codecsdir="$_codecsdir"
5979 mingw32 && _win32codecsdir="codecs"
5980 fi
5979 fi 5981 fi
5980 5982
5981 echocheck "Win32 codec DLL support" 5983 echocheck "Win32 codec DLL support"
5982 if test "$_win32" = auto ; then 5984 if test "$_win32" = auto ; then
5983 _win32=no 5985 _win32=no
6025 if test -d "$I" ; then 6027 if test -d "$I" ; then
6026 _xanimcodecsdir="$I" 6028 _xanimcodecsdir="$I"
6027 break; 6029 break;
6028 fi; 6030 fi;
6029 done 6031 done
6032 fi
6033 # Fall back on default directory.
6034 if test -z "$_xanimcodecsdir" ; then
6030 _xanimcodecsdir="$_codecsdir" 6035 _xanimcodecsdir="$_codecsdir"
6031 fi 6036 fi
6032 test "$_xanimcodecsdir" && _xanim=yes 6037 test "$_xanimcodecsdir" && _xanim=yes
6033 fi 6038 fi
6034 fi 6039 fi
6061 "$_win32codecsdir"; do 6066 "$_win32codecsdir"; do
6062 if test -d "$I" ; then 6067 if test -d "$I" ; then
6063 _realcodecsdir="$I" 6068 _realcodecsdir="$I"
6064 break 6069 break
6065 fi 6070 fi
6066 _realcodecsdir="$_codecsdir"
6067 # Fall back on a subfolder of the current dir on Windows
6068 mingw32 && _realcodecsdir="codecs"
6069 done 6071 done
6072 fi
6073 # Fall back on default directory.
6074 if test -z "$_realcodecsdir" ; then
6075 _realcodecsdir="$_codecsdir"
6076 mingw32 && _realcodecsdir="codecs"
6070 fi 6077 fi
6071 test "$_realcodecsdir" && _real=yes 6078 test "$_realcodecsdir" && _real=yes
6072 fi 6079 fi
6073 fi 6080 fi
6074 fi 6081 fi