[vlc-devel] commit: Fix compile of Skins2 on Windows (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Aug 23 23:53:11 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 23:49:00 2009 +0200| [fe5d06cd7b8f131a1d1bc3ffefe02b629b9d0bc0] | committer: Jean-Baptiste Kempf 

Fix compile of Skins2 on Windows

Fix for [1f579327087ca62de0b51b6f0120d7ae8ee38639] for Windows

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

 configure.ac |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index c9fd1ef..8962bca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -732,15 +732,16 @@ AC_CHECK_LIB(m,exp,[
 AC_CHECK_LIB(m,round,[
   VLC_ADD_LIBS([dbus],[-lm])
 ])
-AC_CHECK_LIB(m,lrintf, [
-  AC_DEFINE(HAVE_LRINTF, 1, [Define to 1 if you have the lrintf function])
-  VLC_ADD_LIBS([skins2],[-lm])
-])
 AC_CHECK_LIB(m,sqrtf,[
   VLC_ADD_LIBS([x264],[-lm])
 ])
 fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
 
+AC_CHECK_LIB(m,lrintf, [
+  AC_DEFINE(HAVE_LRINTF, 1, [Define to 1 if you have the lrintf function])
+  VLC_ADD_LIBS([skins2],[-lm])
+])
+
 dnl Check for dynamic plugins
 ac_cv_have_plugins=no
 




More information about the vlc-devel mailing list