changeset 10096:896c5b8856d2

New option: using /codecs for all the binary dlls, initial patch by Diego Biurrun after discussion on -dev-eng
author alex
date Sun, 11 May 2003 18:47:18 +0000
parents 51da0282b302
children f327d76a7b6f
files configure
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun May 11 18:29:07 2003 +0000
+++ b/configure	Sun May 11 18:47:18 2003 +0000
@@ -4144,16 +4144,14 @@
 fi
 
 if test "$_win32" != no ; then
-  echocheck "Win32 codec DLL files path"
     if test -z "$_win32libdir" ; then
-      for I in "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do
+      for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do
         if test -d "$I" ; then
           _win32libdir="$I"
           break;
         fi;
       done
     fi
-  echores "$_win32libdir"
 fi
 
 echocheck "Win32 codec DLL support"
@@ -4163,7 +4161,7 @@
 fi
 if test "$_win32" = yes ; then
   _def_win32='#define USE_WIN32DLL 1'
-  echores "yes"
+  echores "yes (using $_win32libdir)"
 else
   _def_win32='#undef USE_WIN32DLL'
   _nocodecmodules="win32 $_nocodecmodules"
@@ -4247,7 +4245,7 @@
   _xanim=no
   if test "$_dl" = yes ; then
     if test -z "$_xanimlibdir" ; then
-	for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do
+	for I in "$_libdir/codecs" /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do
           if test -d "$I" ; then
             _xanimlibdir="$I"
             break;
@@ -4288,9 +4286,9 @@
     fi
     if test "$_real" = yes ; then
       if test -z "$_reallibdir" ; then
-	for I in $_libdir/real /usr/lib/real /usr/lib/RealPlayer*/Codecs \
-          /usr/local/RealPlayer*/Codecs /usr/local/lib/RealPlayer*/Codecs \
-          /opt/RealPlayer*/Codecs; do
+	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; do
           if test -d "$I" ; then
             _reallibdir="$I"
             break;