summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-03 09:42:22 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-03 09:42:22 +0000
commit043a331bd056af069ab9f6a208b9fd1def76277a (patch)
treef6240efaa2c95d591356eda98f35716b5a6ef29a /configure
parent3d0b12ac1ebb8e70447c9c0ddb72800c26708e61 (diff)
downloadmpv-043a331bd056af069ab9f6a208b9fd1def76277a.tar.bz2
mpv-043a331bd056af069ab9f6a208b9fd1def76277a.tar.xz
External liba52 parameters should only be enabled if the check succeeded.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27685 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 3bb69ae15b..29c7937327 100755
--- a/configure
+++ b/configure
@@ -6095,9 +6095,7 @@ elif test "$_liba52_internal" = no && test "$_liba52" = auto ; then
#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'