[MPlayer-dev-eng] [patch] libdivx[de|en]core and decore.h not found by configure

Pawel Kot pkot at linuxnews.pl
Sun Sep 30 23:48:57 CEST 2001


Hi all,

Attached is the small patch that allows configure detect DivX4Linux
libraries/includes on my system. The problem was that it requires libm to
be linked properly.

Please Cc me on the reply as I'm not subscribed to the list.

regards
pkot
PS. Thanks for great work on MPlayer.
-- 
[ Paweł Kot ] [ Linux Registered User #94478 ] [ LinuxNews.pl Team Member ]
[ mailto:pkot at linuxnews.pl ] [ mailto:pkot at slackware.pl ] [ ------------- ]
[ http://kt.linuxnews.pl/ - Kernel Traffic po polsku ] [ ---------------- ]
[ http://tfuj.pl/cv.html ] [ http://slackware.pl/ ] [ ------------------- ]
-------------- next part --------------
--- configure~	Sun Sep 30 22:51:44 2001
+++ configure	Sun Sep 30 22:53:40 2001
@@ -816,7 +816,7 @@
 $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -laa > /dev/null 2>&1 && _aa=yes
 
 _divx4linux=no
-$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore > /dev/null 2>&1 && _divx4linux=yes
+$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore -lm > /dev/null 2>&1 && _divx4linux=yes
 
 _termcap=no
 $_cc  $_extraincdir $_extralibdir $TMPC -o $TMPO -ltermcap > /dev/null 2>&1 && _termcap=yes
@@ -938,7 +938,7 @@
 #include <decore.h>
 int main( void ) { return DEC_OPT_FRAME_311; }
 EOF
-$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore > /dev/null 2>&1 || \
+$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore -lm > /dev/null 2>&1 || \
  { _divx4linux=no; echo "DivX4Linux includes (decore.h) not found!";}
 
 cat > $TMPC << EOF


More information about the MPlayer-dev-eng mailing list