summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-12 22:52:23 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-12 22:52:23 +0000
commit9802bce14dece6ce45ce5b432c4e6dc70f3c0e53 (patch)
treeb9baab532f9a0789f97384d4643604540d848001 /configure
parent4e583b98dbdef22b40032d0edb469c7535a30a38 (diff)
downloadmpv-9802bce14dece6ce45ce5b432c4e6dc70f3c0e53.tar.bz2
mpv-9802bce14dece6ce45ce5b432c4e6dc70f3c0e53.tar.xz
change real codecs dir priority as discussed with al3x, hopefully the syntax is korn shell compatible, please test!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10104 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index 2dbc915a34..fd040897ea 100755
--- a/configure
+++ b/configure
@@ -4300,13 +4300,12 @@ if test "$_real" = auto ; then
fi
if test -z "$_reallibdir" ; then
for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \
- /usr/lib/RealPlayer*/Codecs /usr/local/RealPlayer*/Codecs \
- /usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs \
- /opt/RealPlayer*/Real/Codecs; do
+ /usr/lib/RealPlayer{9,8,}/Codecs /usr/local/RealPlayer{9,8,}/Codecs \
+ /usr/local/lib/RealPlayer{9,8,}/Codecs /opt/RealPlayer{9,8,}/{Real/,}/Codecs ; do
if test -d "$I" ; then
_reallibdir="$I"
- #break; 8 comes before 9 so loop on ::atmos
- fi;
+ break
+ fi
done
fi
test "$_reallibdir" || _real=no