From 34fee45e006b457156505425ce3c67026e4bf152 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 8 Nov 2006 19:58:10 +0000 Subject: [PATCH] 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 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"