summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-07-11 22:31:41 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-07-11 22:31:41 +0000
commite26011d0f495de1148b8014995cbe923611b6b76 (patch)
tree31cb5d25429e190dafcd8987a420cd9fa6280412
parentec1ee802a2e1cb3317bd44851cc28f95b5916051 (diff)
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
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 99cb44b45e..35bb30a340 100755
--- a/configure
+++ b/configure
@@ -2271,10 +2271,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