aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-13 20:49:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-13 20:49:22 +0100
commit2a459f5d87f804204ef5191de503672a3ddcf820 (patch)
treee7476eb8948b86079dc405848450d5732ce5575a
parent7b2a19cb9e6605d7c886896c458986e2a7cab40e (diff)
parentbdc111a162094c14660d1e88839d103a4d79e42a (diff)
downloadffmpeg-2a459f5d87f804204ef5191de503672a3ddcf820.tar.gz
Merge commit 'bdc111a162094c14660d1e88839d103a4d79e42a'
* commit 'bdc111a162094c14660d1e88839d103a4d79e42a': configure: Detect newer (>=4.1) versions of MinGW32 Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 83f20edcea..cb2156c4dd 100755
--- a/configure
+++ b/configure
@@ -3855,7 +3855,8 @@ probe_libc(){
add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
fi
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
- elif check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
+ elif check_${pfx}cpp_condition _mingw.h "defined __MINGW_VERSION" ||
+ check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
eval ${pfx}libc_type=mingw32
check_${pfx}cpp_condition _mingw.h "__MINGW32_MAJOR_VERSION > 3 || \
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||