[vlc-devel] commit: Ball uses sqrt() and roundf() and so needs -lm (Christophe Mutricy )

git version control git at videolan.org
Tue Dec 22 22:00:45 CET 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Tue Dec 22 20:59:41 2009 +0000| [5ab6e093eaa4e79ab439b84df26c40b470c55dec] | committer: Christophe Mutricy 

Ball uses sqrt() and roundf() and so needs -lm

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ab6e093eaa4e79ab439b84df26c40b470c55dec
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index bb298bb..23d1b8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -729,7 +729,7 @@ AC_CHECK_LIB(m,pow,[
   VLC_ADD_LIBS([avcodec avformat access_avio swscale postproc ffmpegaltivec i420_rgb faad twolame equalizer spatializer param_eq libvlccore freetype mod mpc dmo quicktime realaudio realvideo opengl],[-lm])
 ])
 AC_CHECK_LIB(m,sqrt,[
-  VLC_ADD_LIBS([headphone_channel_mixer normvol audiobargraph_a speex mono colorthres extract],[-lm])
+  VLC_ADD_LIBS([headphone_channel_mixer normvol audiobargraph_a speex mono colorthres extract ball],[-lm])
 ])
 AC_CHECK_LIB(m,ceil,[
   VLC_ADD_LIBS([access_imem hotkeys mosaic swscale_omap],[-lm])




More information about the vlc-devel mailing list