[vlc-commits] configure: update Mingw requirements

Jean-Baptiste Kempf git at videolan.org
Mon Dec 4 01:33:50 CET 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec  4 01:24:13 2017 +0100| [78f79034db523e8efd530a0c21b0af7c5a5e8575] | committer: Jean-Baptiste Kempf

configure: update Mingw requirements

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

 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6e512d8839..f9bde2aa4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -511,17 +511,17 @@ dnl Check for broken versions of mingw-runtime compatability library
     AC_PREPROC_IFELSE([AC_LANG_SOURCE([
 #include <_mingw.h>
 #if defined(__MINGW64_VERSION_MAJOR)
-# if __MINGW64_VERSION_MAJOR < 3
-#  error Attempting to use mingw-runtime with broken vsnprintf support
+# if __MINGW64_VERSION_MAJOR < 5
+#  error Update your mingw-w64! This one is too old.
 # endif
-#elif __MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION < 15
-# error Attempting to use mingw-runtime with broken vsnprintf support
+#else
+# error You cannot compile with Mingw. Use Mingw-w64!
 #endif
     ])], [
         AC_MSG_RESULT([ok])
     ], [
         AC_MSG_RESULT([present])
-        AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!])
+        AC_MSG_ERROR([LibVLC requires Mingw-w64 version 5.0 or higher!])
     ])
 
     dnl force use of mingw provided c99 *printf over msvcrt



More information about the vlc-commits mailing list