From 9802bce14dece6ce45ce5b432c4e6dc70f3c0e53 Mon Sep 17 00:00:00 2001 From: atmos4 Date: Mon, 12 May 2003 22:52:23 +0000 Subject: 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 --- configure | 9 ++++----- 1 file 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 -- cgit v1.2.3