changeset 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 0f59b1e9ad97
children d651256e66b2
files configure
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon May 12 16:02:34 2003 +0000
+++ b/configure	Mon May 12 22:52:23 2003 +0000
@@ -4300,13 +4300,12 @@
       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