summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 19:58:10 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 19:58:10 +0000
commit34fee45e006b457156505425ce3c67026e4bf152 (patch)
treee6709f3b275a7304e95a16d1d2a7846533575781 /configure
parent2434d5f7c2b47ababf780527def839c96ce2ec7c (diff)
downloadmpv-34fee45e006b457156505425ce3c67026e4bf152.tar.bz2
mpv-34fee45e006b457156505425ce3c67026e4bf152.tar.xz
Reset _ld_xvid so that stray libs do not appear on the link command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20797 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 7b89d1d5c0..3ae6dd2bed 100755
--- a/configure
+++ b/configure
@@ -6393,7 +6393,7 @@ int main(void) { xvid_init(0, 0, 0, 0); return 0; }
EOF
_ld_xvid="$_ld_xvid -lxvidcore"
_xvid3=no
- cc_check $_ld_xvid $_ld_lm && _xvid3=yes
+ cc_check $_ld_xvid -lxvidcore $_ld_lm && _xvid3=yes
fi
if test "$_xvid3" = yes ; then
@@ -6402,6 +6402,7 @@ if test "$_xvid3" = yes ; then
else
_def_xvid3='#undef HAVE_XVID3'
_nocodecmodules="xvid3 $_nocodecmodules"
+ _ld_xvid=""
fi
echores "$_xvid3"
@@ -6425,6 +6426,7 @@ if test "$_xvid" = yes ; then
else
_def_xvid='#undef HAVE_XVID4'
_nocodecmodules="xvid $_nocodecmodules"
+ _ld_xvid=""
fi
echores "$_xvid"