changeset 32640:982ff6ad6e90

Disable VIDIX on Windows if then required ntddk.h header is not available. It is missing at least in the mingw-w64 cross-compile toolchain that is part of Cygwin.
author reimar
date Thu, 23 Dec 2010 18:11:54 +0000
parents 4635bb166b62
children a2822f8f5e6d
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Dec 23 12:01:27 2010 +0000
+++ b/configure	Thu Dec 23 18:11:54 2010 +0000
@@ -4562,6 +4562,7 @@
   _vidix=no
   x86 && (linux || freebsd || netbsd || openbsd || dragonfly || sunos || win32) \
     && _vidix=yes
+  win32 && ! header_check ddk/ntddk.h && _vidix=no
   x86_64 && ! linux && _vidix=no
   (ppc || alpha) && linux && _vidix=yes
 fi