Enable HIDAPI by default
parent
a94fe009c6
commit
120dc280ca
|
@ -24312,7 +24312,7 @@ CheckHIDAPI()
|
|||
if test "${enable_hidapi+set}" = set; then :
|
||||
enableval=$enable_hidapi;
|
||||
else
|
||||
enable_hidapi=no
|
||||
enable_hidapi=yes
|
||||
fi
|
||||
|
||||
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
||||
|
@ -24778,7 +24778,7 @@ $as_echo "#define SDL_AUDIO_DRIVER_ANDROID 1" >>confdefs.h
|
|||
# Set up files for the joystick library
|
||||
if test x$enable_joystick = xyes; then
|
||||
case $ARCH in
|
||||
linux)
|
||||
linux|freebsd)
|
||||
|
||||
$as_echo "#define SDL_JOYSTICK_LINUX 1" >>confdefs.h
|
||||
|
||||
|
@ -24799,7 +24799,7 @@ $as_echo "#define SDL_JOYSTICK_ANDROID 1" >>confdefs.h
|
|||
# Set up files for the haptic library
|
||||
if test x$enable_haptic = xyes; then
|
||||
case $ARCH in
|
||||
linux)
|
||||
linux|freebsd)
|
||||
if test x$use_input_events = xyes; then
|
||||
|
||||
$as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
|
||||
|
|
|
@ -3327,8 +3327,8 @@ CheckHIDAPI()
|
|||
esac
|
||||
|
||||
AC_ARG_ENABLE(hidapi,
|
||||
AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
|
||||
, enable_hidapi=no)
|
||||
AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=yes]]]),
|
||||
, enable_hidapi=yes)
|
||||
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
||||
if test x$skiplibusb = xyes; then
|
||||
hidapi_support=yes
|
||||
|
|
Loading…
Reference in New Issue