[FFmpeg-cvslog] mingw32: merge checks for mingw-w64 and mingw32-runtime >= 3.15 into one

Ramiro Polla git at videolan.org
Mon Jun 4 12:34:53 CEST 2012


ffmpeg | branch: release/0.5 | Ramiro Polla <ramiro.polla at gmail.com> | Sun Jul 11 22:31:41 2010 +0000| [b061ee9a5d68aa9f619ae8028171018940f07471] | committer: Derek Buitenhuis

mingw32: merge checks for mingw-w64 and mingw32-runtime >= 3.15 into one

Originally committed as revision 24204 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit e26011d0f495de1148b8014995cbe923611b6b76)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

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

 configure |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 835535f..67cc2f6 100755
--- a/configure
+++ b/configure
@@ -1611,10 +1611,9 @@ case $target_os in
         objformat="win32"
         enable dos_paths
         check_cflags -fno-common
-        if ! check_cpp_condition _mingw.h "defined (__MINGW64_VERSION_MAJOR)"; then
-            check_cpp_condition _mingw.h "(__MINGW32_MAJOR_VERSION > 3) || (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
+        check_cpp_condition _mingw.h "defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) \
+                                      || (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
                 die "ERROR: MinGW runtime version must be >= 3.15."
-        fi
         ;;
     cygwin*)
         target_os=cygwin



More information about the ffmpeg-cvslog mailing list