Fixed build on newer Cygwin installs.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 05 Jun 2013 00:42:39 -0400
changeset 7272 c502531983c7
parent 7271 963d2ba35cfe
child 7273 449ec3248b61
Fixed build on newer Cygwin installs.
configure.in
--- a/configure.in	Tue Jun 04 14:54:49 2013 -0700
+++ b/configure.in	Wed Jun 05 00:42:39 2013 -0400
@@ -2016,6 +2016,14 @@
         AC_CHECK_HEADER(dsound.h, have_dsound=yes)
         AC_CHECK_HEADER(dinput.h, have_dinput=yes)
         AC_CHECK_HEADER(xaudio2.h, have_xaudio2=yes)
+
+        # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
+        # FIXME:  ...so force it off for now.
+        case "$host" in
+            *-*-cygwin*)
+            have_dinput=false
+            ;;
+        esac
     fi
 }