[vlc-devel] commit: Fix compile of Skins2 on Windows (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Aug 24 19:39:49 CEST 2009
vlc | branch: 1.0-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 23:49:00 2009 +0200| [1e1bdefe11fd8b4e0bb9d498d8d815e36d3c4b98] | committer: Rémi Denis-Courmont
Fix compile of Skins2 on Windows
Fix for [1f579327087ca62de0b51b6f0120d7ae8ee38639] for Windows
(cherry picked from commit fe5d06cd7b8f131a1d1bc3ffefe02b629b9d0bc0)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e1bdefe11fd8b4e0bb9d498d8d815e36d3c4b98
---
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index cd0610d..34aa87b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -738,6 +738,11 @@ AC_CHECK_LIB(m,sqrtf,[
])
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