changeset 21435:d4f3d52bedbf

Use fallback XAnim and Real codecs directories when autodetection is skipped.
author diego
date Sat, 02 Dec 2006 20:54:51 +0000
parents efa3a5d013fe
children b13fffbce06b
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Dec 02 20:49:35 2006 +0000
+++ b/configure	Sat Dec 02 20:54:51 2006 +0000
@@ -5966,11 +5966,11 @@
   _xanim=no
   _res_comment="dynamic loader support needed"
   if test "$_dl" = yes ; then
-    test -z "$_xanimcodecsdir" && _xanimcodecsdir=$_codecsdir
     _xanim=yes
   fi
 fi
 if test "$_xanim" = yes ; then
+  test -z "$_xanimcodecsdir" && _xanimcodecsdir=$_codecsdir
   _def_xanim='#define USE_XANIM 1'
   _def_xanim_path="#define XACODEC_PATH \"$_xanimcodecsdir\""
   _codecmodules="xanim $_codecmodules"
@@ -5989,11 +5989,11 @@
   _res_comment="dynamic loader support needed"
   if test "$_dl" = yes || test "$_win32" = yes &&
      (linux || freebsd || netbsd || win32 || darwin) ; then
-    test -z "$_realcodecsdir" && _realcodecsdir="$_codecsdir"
     _real=yes
   fi
 fi
 if test "$_real" = yes ; then
+  test -z "$_realcodecsdir" && _realcodecsdir="$_codecsdir"
   _def_real='#define USE_REALCODECS 1'
   _def_real_path="#define REALCODEC_PATH \"$_realcodecsdir\""
   _codecmodules="real $_codecmodules"