summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-07-10 04:08:02 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-07-10 04:08:02 +0000
commit0a4307d6307516d333ce2cde2a2ffa0f50bc176c (patch)
tree425517c7df6393e1cc641801e4bed1d047e00d40
parent7918375f8873ba465fc08e2bc00769ab0360327a (diff)
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
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 091f9078ed..c35e3e29ec 100755
--- a/configure
+++ b/configure
@@ -2271,7 +2271,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_indev &&