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
This commit is contained in:
diego 2006-11-08 19:58:10 +00:00
parent 2434d5f7c2
commit 34fee45e00
1 changed files with 3 additions and 1 deletions

4
configure vendored
View File

@ -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"