comparison configure @ 10103:7b338ec311e2

change real codecs dir priority as discussed with al3x, hopefully the syntax is korn shell compatible, please test!
author atmos4
date Mon, 12 May 2003 22:52:23 +0000
parents 00c091706a73
children d42177a0da2a
comparison
equal deleted inserted replaced
10102:0f59b1e9ad97 10103:7b338ec311e2
4298 _reallibdir="codecs" 4298 _reallibdir="codecs"
4299 fi 4299 fi
4300 fi 4300 fi
4301 if test -z "$_reallibdir" ; then 4301 if test -z "$_reallibdir" ; then
4302 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \ 4302 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \
4303 /usr/lib/RealPlayer*/Codecs /usr/local/RealPlayer*/Codecs \ 4303 /usr/lib/RealPlayer{9,8,}/Codecs /usr/local/RealPlayer{9,8,}/Codecs \
4304 /usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs \ 4304 /usr/local/lib/RealPlayer{9,8,}/Codecs /opt/RealPlayer{9,8,}/{Real/,}/Codecs ; do
4305 /opt/RealPlayer*/Real/Codecs; do
4306 if test -d "$I" ; then 4305 if test -d "$I" ; then
4307 _reallibdir="$I" 4306 _reallibdir="$I"
4308 #break; 8 comes before 9 so loop on ::atmos 4307 break
4309 fi; 4308 fi
4310 done 4309 done
4311 fi 4310 fi
4312 test "$_reallibdir" || _real=no 4311 test "$_reallibdir" || _real=no
4313 if test "$_real" = yes ; then 4312 if test "$_real" = yes ; then
4314 echores "yes (using $_reallibdir)" 4313 echores "yes (using $_reallibdir)"