changeset 21906:e42343c4f6f0

Move twolame check before toolame check.
author diego
date Sun, 14 Jan 2007 22:35:10 +0000
parents 361eda182dc7
children 2a0402e274e7
files configure
diffstat 1 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 14 07:03:51 2007 +0000
+++ b/configure	Sun Jan 14 22:35:10 2007 +0000
@@ -5639,6 +5639,25 @@
 fi
 echores "$_mad"
 
+echocheck "Twolame"
+if test "$_twolame" = auto ; then
+  cat > $TMPC <<EOF
+#include <twolame.h>
+int main(void) { twolame_init(); return 0; }
+EOF
+  _twolame=no
+  cc_check -ltwolame $_ld_lm && _twolame=yes
+fi
+if test "$_twolame" = yes ; then
+  _def_twolame='#define HAVE_TWOLAME 1'
+  _libs_mencoder="$_libs_mencoder -ltwolame"
+  _codecmodules="twolame $_codecmodules"
+else
+  _def_twolame='#undef HAVE_TWOLAME'
+  _nocodecmodules="twolame $_nocodecmodules"
+fi
+echores "$_twolame"
+
 echocheck "Toolame"
 if test "$_toolame" = auto ; then
   cat > $TMPC <<EOF
@@ -5661,25 +5680,6 @@
 fi
 echores "$_toolame"
 
-echocheck "Twolame"
-if test "$_twolame" = auto ; then
-  cat > $TMPC <<EOF
-#include <twolame.h>
-int main(void) { twolame_init(); return 0; }
-EOF
-  _twolame=no
-  cc_check -ltwolame $_ld_lm && _twolame=yes
-fi
-if test "$_twolame" = yes ; then
-  _def_twolame='#define HAVE_TWOLAME 1'
-  _libs_mencoder="$_libs_mencoder -ltwolame"
-  _codecmodules="twolame $_codecmodules"
-else
-  _def_twolame='#undef HAVE_TWOLAME'
-  _nocodecmodules="twolame $_nocodecmodules"
-fi
-echores "$_twolame"
-
 echocheck "OggVorbis support"
 if test "$_tremor_internal" = yes; then
   _libvorbis=no