[MPlayer-users] ffmpeg detection

Christian Marillat marillat at free.fr
Mon Nov 5 15:04:13 CET 2001


Hi,

I don't know if this needed by other distro, but I need to add -lm to the
ffmpeg detection otherwise configure don't find ffmpeg.

Christian

+++ mplayer-0.50-cvs20011104/configure
@@ -657,7 +657,7 @@
 #include <libffmpeg/avcodec.h>
 int main( void ) { return 0; }
 EOF
-cc_check $_extraincdir $_extralibdir -lffmpeg && _libavcodec_so=yes
+cc_check $_extraincdir $_extralibdir -lffmpeg -lm && _libavcodec_so=yes
 
 if test -c /dev/mga_vid ; then
  _mga=yes



More information about the MPlayer-users mailing list