changeset 27653:1f7f7b936b0a

External liba52 parameters should only be enabled if the check succeeded.
author diego
date Fri, 03 Oct 2008 09:42:22 +0000
parents d721cc846146
children a246ee34231b
files configure
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Oct 03 09:40:43 2008 +0000
+++ b/configure	Fri Oct 03 09:42:22 2008 +0000
@@ -6095,9 +6095,7 @@
 #include <a52dec/a52.h>
 int main(void) { a52_state_t *testHand; testHand=a52_init(0); return 0; }
 EOF
-  cc_check -la52 && _liba52=yes
-  _ld_extra="$_ld_extra -la52"
-  _res_comment="external"
+  cc_check -la52 && _liba52=yes && _res_comment="external" && _ld_extra="$_ld_extra -la52"
 fi
 if test "$_liba52" = yes ; then
   _def_liba52='#define CONFIG_LIBA52 1'