Backed out change for bug 5335 - enable joystick/haptic/evdev support by default on FreeBSD

Building on FreeBSD fails:
/buildbot/worker/SDL/sdl-freebsd-amd64/src/src/joystick/linux/SDL_sysjoystick.c:26:2: error: SDL now requires a Linux 2.4+ kernel with /dev/input/event support.
#error SDL now requires a Linux 2.4+ kernel with /dev/input/event support.
 ^
/buildbot/worker/SDL/sdl-freebsd-amd64/src/src/joystick/linux/SDL_sysjoystick.c:35:10: fatal error: 'sys/inotify.h' file not found
#include <sys/inotify.h>
         ^~~~~~~~~~~~~~~
This commit is contained in:
Sam Lantinga 2020-11-11 19:53:10 -08:00
parent 76bd6cd2d9
commit dc76449661

4
configure vendored
View File

@ -24777,7 +24777,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|freebsd)
linux)
$as_echo "#define SDL_JOYSTICK_LINUX 1" >>confdefs.h
@ -24798,7 +24798,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|freebsd)
linux)
if test x$use_input_events = xyes; then
$as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h