Skip to content

Commit

Permalink
bug 1003812 - Check for Windows 8 SDK for building Gamepad on Windows…
Browse files Browse the repository at this point in the history
…. r=glandium
  • Loading branch information
luser committed May 1, 2014
1 parent 277a52c commit a0f98af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -5886,6 +5886,15 @@ if test "$MOZ_GAMEPAD"; then
MOZ_GAMEPAD_BACKEND=cocoa
;;
WINNT)
case "$MOZ_WINSDK_MAXVER" in
# We support building with the Windows 7 SDK otherwise, but
# Gamepad support requires the Windows 8 SDK for some HID headers.
0x0601*)
AC_MSG_ERROR([The Windows 8 SDK or newer is required to build Gamepad support. Please install a newer Windows SDK or reconfigure with --disable-gamepad to disable gamepad support.])
;;
*)
;;
esac
MOZ_GAMEPAD_BACKEND=windows
;;
Linux)
Expand Down

0 comments on commit a0f98af

Please sign in to comment.