fixed broken xvid support ("lm" rather than "-lm" in libs)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4687 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2002-02-13 03:14:45 +00:00
parent 9ec5053a4f
commit ecaf1d74b1
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -2667,11 +2667,11 @@ int main(void) { (void) encore(0, 0, 0, 0); return 0; }
EOF
if test "$_xvid" != no && test "$_xvidcore" && cc_check -lm "$_xvidcore" ; then
_def_encore='#define HAVE_DIVX4ENCORE 1'
_ld_encore="lm $_xvidcore"
_ld_encore="-lm $_xvidcore"
echores "XviD (with $_xvidcore)"
elif test "$_xvid" != no && cc_check -lm -lxvidcore ; then
_def_encore='#define HAVE_DIVX4ENCORE 1'
_ld_encore='lm -lxvidcore'
_ld_encore='-lm -lxvidcore'
echores "XviD (with libxvidcore.so)"
elif test "$_divx4linux" != no && cc_check -lm -ldivxencore ; then
_def_encore='#define HAVE_DIVX4ENCORE 1'