From b990187f992be89e7e507f0c512c9d2f3efa9068 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Sat, 10 Jul 2010 04:08:02 +0000 Subject: [PATCH] configure: properly check for mingw-w64 through installed headers. mingw-w64 can also target 32-bit code. Originally committed as revision 24156 to svn://svn.ffmpeg.org/ffmpeg/trunk (cherry picked from commit 0a4307d6307516d333ce2cde2a2ffa0f50bc176c) Signed-off-by: Derek Buitenhuis --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 745d8fdd67..c2da74aa1b 100755 --- a/configure +++ b/configure @@ -1611,7 +1611,7 @@ case $target_os in objformat="win32" enable dos_paths check_cflags -fno-common - if ! enabled x86_64; then + 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)" || die "ERROR: MinGW runtime version must be >= 3.15." enabled_any avisynth vfwcap_demuxer &&