Disable HIDAPI by default, as it breaks on Linux when trying to use libusb with non-root permissions on some distributions
authorSam Lantinga <slouken@libsdl.org>
Mon, 12 Aug 2019 13:35:36 -0700
changeset 13007e18a8781bbc7
parent 13006 4a410f099040
child 13008 8e299f937b6c
Disable HIDAPI by default, as it breaks on Linux when trying to use libusb with non-root permissions on some distributions
configure
configure.ac
     1.1 --- a/configure	Sun Aug 11 15:23:37 2019 +0200
     1.2 +++ b/configure	Mon Aug 12 13:35:36 2019 -0700
     1.3 @@ -1677,7 +1677,7 @@
     1.4    --enable-wasapi         use the Windows WASAPI audio driver [[default=yes]]
     1.5    --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
     1.6    --enable-hidapi         use HIDAPI for low level joystick drivers
     1.7 -                          [[default=yes]]
     1.8 +                          [[default=no]]
     1.9    --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
    1.10                            UNIX [[default=yes]]
    1.11    --enable-rpath          use an rpath when linking SDL [[default=yes]]
    1.12 @@ -24135,7 +24135,7 @@
    1.13  if test "${enable_hidapi+set}" = set; then :
    1.14    enableval=$enable_hidapi;
    1.15  else
    1.16 -  enable_hidapi=yes
    1.17 +  enable_hidapi=no
    1.18  fi
    1.19  
    1.20      if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
     2.1 --- a/configure.ac	Sun Aug 11 15:23:37 2019 +0200
     2.2 +++ b/configure.ac	Mon Aug 12 13:35:36 2019 -0700
     2.3 @@ -3216,8 +3216,8 @@
     2.4      esac
     2.5  
     2.6      AC_ARG_ENABLE(hidapi,
     2.7 -AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=yes]]]),
     2.8 -                  , enable_hidapi=yes)
     2.9 +AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
    2.10 +                  , enable_hidapi=no)
    2.11      if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
    2.12          if test x$skiplibusb = xyes; then
    2.13              hidapi_support=yes