mirror of https://github.com/encounter/SDL.git
Disable HIDAPI by default, as it breaks on Linux when trying to use libusb with non-root permissions on some distributions
This commit is contained in:
parent
155087d106
commit
7a84dd4277
|
@ -1677,7 +1677,7 @@ Optional Features:
|
||||||
--enable-wasapi use the Windows WASAPI audio driver [[default=yes]]
|
--enable-wasapi use the Windows WASAPI audio driver [[default=yes]]
|
||||||
--enable-sdl-dlopen use dlopen for shared object loading [[default=yes]]
|
--enable-sdl-dlopen use dlopen for shared object loading [[default=yes]]
|
||||||
--enable-hidapi use HIDAPI for low level joystick drivers
|
--enable-hidapi use HIDAPI for low level joystick drivers
|
||||||
[[default=yes]]
|
[[default=no]]
|
||||||
--enable-clock_gettime use clock_gettime() instead of gettimeofday() on
|
--enable-clock_gettime use clock_gettime() instead of gettimeofday() on
|
||||||
UNIX [[default=yes]]
|
UNIX [[default=yes]]
|
||||||
--enable-rpath use an rpath when linking SDL [[default=yes]]
|
--enable-rpath use an rpath when linking SDL [[default=yes]]
|
||||||
|
@ -24135,7 +24135,7 @@ CheckHIDAPI()
|
||||||
if test "${enable_hidapi+set}" = set; then :
|
if test "${enable_hidapi+set}" = set; then :
|
||||||
enableval=$enable_hidapi;
|
enableval=$enable_hidapi;
|
||||||
else
|
else
|
||||||
enable_hidapi=yes
|
enable_hidapi=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
||||||
|
|
|
@ -3216,8 +3216,8 @@ CheckHIDAPI()
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_ARG_ENABLE(hidapi,
|
AC_ARG_ENABLE(hidapi,
|
||||||
AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=yes]]]),
|
AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
|
||||||
, enable_hidapi=yes)
|
, enable_hidapi=no)
|
||||||
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
||||||
if test x$skiplibusb = xyes; then
|
if test x$skiplibusb = xyes; then
|
||||||
hidapi_support=yes
|
hidapi_support=yes
|
||||||
|
|
Loading…
Reference in New Issue