configure.ac
changeset 13007 e18a8781bbc7
parent 13001 1353fb9be62b
child 13079 82de37dd809d
equal deleted inserted replaced
13006:4a410f099040 13007:e18a8781bbc7
  3214             onlylibusb=yes
  3214             onlylibusb=yes
  3215             ;;
  3215             ;;
  3216     esac
  3216     esac
  3217 
  3217 
  3218     AC_ARG_ENABLE(hidapi,
  3218     AC_ARG_ENABLE(hidapi,
  3219 AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=yes]]]),
  3219 AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
  3220                   , enable_hidapi=yes)
  3220                   , enable_hidapi=no)
  3221     if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
  3221     if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
  3222         if test x$skiplibusb = xyes; then
  3222         if test x$skiplibusb = xyes; then
  3223             hidapi_support=yes
  3223             hidapi_support=yes
  3224         else
  3224         else
  3225             PKG_CHECK_MODULES([LIBUSB], [libusb-1.0], have_libusb=yes, have_libusb=no)
  3225             PKG_CHECK_MODULES([LIBUSB], [libusb-1.0], have_libusb=yes, have_libusb=no)