diff configure @ 27476:9e28be9c5242

Initialize _def_faad* variables to disabled before setting them. This fixes _def_faad_internal never being set when using external libfaad.
author diego
date Mon, 01 Sep 2008 17:37:15 +0000
parents 9aec3687584a
children 1b1d01ed1936
line wrap: on
line diff
--- a/configure	Mon Sep 01 17:32:53 2008 +0000
+++ b/configure	Mon Sep 01 17:37:15 2008 +0000
@@ -6210,6 +6210,8 @@
   cc_check -lfaad $_ld_lm && _faad_external=yes
 fi
 
+_def_faad='#undef CONFIG_FAAD'
+_def_faad_internal="#undef CONFIG_FAAD_INTERNAL"
 if test "$_faad_internal" = yes ; then
   _def_faad_internal="#define CONFIG_FAAD_INTERNAL 1"
   _faad=yes
@@ -6224,7 +6226,6 @@
   _faad=yes
   _ld_extra="$_ld_extra -lfaad"
 else
-  _def_faad_internal="#undef CONFIG_FAAD_INTERNAL"
   _faad=no
 fi
 
@@ -6232,7 +6233,6 @@
   _def_faad='#define CONFIG_FAAD 1'
   _codecmodules="faad2 $_codecmodules"
 else
-  _def_faad='#undef CONFIG_FAAD'
   _nocodecmodules="faad2 $_nocodecmodules"
 fi
 echores "$_faad"