summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-31 17:55:54 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-31 17:55:54 +0000
commit8a041b9ea1587536cd5fc6f84fdbdfb55a8ca0c7 (patch)
treedd71926688de6292344889c3f0ff81a894882404 /configure
parentd1ab80e8dafcd7c44a7887a3d3fa5b03b2fbd658 (diff)
downloadmpv-8a041b9ea1587536cd5fc6f84fdbdfb55a8ca0c7.tar.bz2
mpv-8a041b9ea1587536cd5fc6f84fdbdfb55a8ca0c7.tar.xz
Fix codec directory fallback, it was overriding the autodetection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20570 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 13 insertions, 6 deletions
diff --git a/configure b/configure
index 3a9f5c2ee6..f89ef99bde 100755
--- a/configure
+++ b/configure
@@ -5972,10 +5972,12 @@ if test "$_win32" = auto ; then
break;
fi;
done
- _win32codecsdir="$_codecsdir"
- # Fall back on a subfolder of the current dir on Windows
- mingw32 && _win32codecsdir="codecs"
fi
+ # Fall back on default directory.
+ if test -z "$_win32codecsdir" ; then
+ _win32codecsdir="$_codecsdir"
+ mingw32 && _win32codecsdir="codecs"
+ fi
fi
echocheck "Win32 codec DLL support"
@@ -6027,6 +6029,9 @@ if test "$_xanim" = auto ; then
break;
fi;
done
+ fi
+ # Fall back on default directory.
+ if test -z "$_xanimcodecsdir" ; then
_xanimcodecsdir="$_codecsdir"
fi
test "$_xanimcodecsdir" && _xanim=yes
@@ -6063,11 +6068,13 @@ if test "$_real" = auto ; then
_realcodecsdir="$I"
break
fi
- _realcodecsdir="$_codecsdir"
- # Fall back on a subfolder of the current dir on Windows
- mingw32 && _realcodecsdir="codecs"
done
fi
+ # Fall back on default directory.
+ if test -z "$_realcodecsdir" ; then
+ _realcodecsdir="$_codecsdir"
+ mingw32 && _realcodecsdir="codecs"
+ fi
test "$_realcodecsdir" && _real=yes
fi
fi