configure.ac
changeset 12999 a7ca9815bc79
parent 12998 b87ba0fad17e
child 13001 1353fb9be62b
equal deleted inserted replaced
12998:b87ba0fad17e 12999:a7ca9815bc79
  3203 CheckHIDAPI()
  3203 CheckHIDAPI()
  3204 {
  3204 {
  3205     # The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers,
  3205     # The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers,
  3206     # so we'll just use libusb when it's available.
  3206     # so we'll just use libusb when it's available.
  3207     case "$host" in
  3207     case "$host" in
  3208         # TODO: Windows can support libusb, the hid.c file just depends on Unix APIs
       
  3209         *-*-cygwin* | *-*-mingw32* )
       
  3210             skiplibusb=yes
       
  3211             ;;
       
  3212         # libusb does not support iOS
  3208         # libusb does not support iOS
  3213         arm*-apple-darwin* | *-ios-* )
  3209         arm*-apple-darwin* | *-ios-* )
  3214             skiplibusb=yes
  3210             skiplibusb=yes
  3215             ;;
  3211             ;;
  3216         # On the other hand, *BSD specifically uses libusb only
  3212         # On the other hand, *BSD specifically uses libusb only