]> git.sesse.net Git - vlc/commitdiff
Fix compile of Skins2 on Windows
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 21:49:00 +0000 (23:49 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 21:49:00 +0000 (23:49 +0200)
Fix for [1f579327087ca62de0b51b6f0120d7ae8ee38639] for Windows

configure.ac

index c9fd1efd9d4c1071c252b4aed953eb4ecefa1c3b..8962bcae403f7e95e46d429ac6b8c6236dbe6d44 100644 (file)
@@ -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