changeset 23206:4d544d4d2a88

Simplify libamr_nb test.
author diego
date Thu, 03 May 2007 12:11:21 +0000
parents 32e7b5a67728
children daba1c391a48
files configure
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu May 03 12:10:22 2007 +0000
+++ b/configure	Thu May 03 12:11:21 2007 +0000
@@ -6301,18 +6301,15 @@
   _ld_extra="$_ld_extra -lamrnb"
   _def_libamr='#define CONFIG_LIBAMR 1'
   _def_libamr_nb='#define CONFIG_LIBAMR_NB 1'
+  _codecmodules="libamr_nb $_codecmodules"
 else
   _def_libamr_nb='#undef CONFIG_LIBAMR_NB'
   _libavdecoders=`echo $_libavdecoders | sed -e s/LIBAMR_NB_DECODER// `
   _libavencoders=`echo $_libavencoders | sed -e s/LIBAMR_NB_ENCODER// `
+  _nocodecmodules="libamr_nb $_nocodecmodules"
 fi
 echores "$_libamr_nb"
 
-if test "$_libamr_nb" = yes ; then
-  _codecmodules="libamr_nb $_codecmodules"
-else
-  _nocodecmodules="libamr_nb $_nocodecmodules"
-fi
 
 echocheck "libamr wideband"
 if test "$_libamr_wb" = auto ; then