mirror of https://github.com/encounter/SDL.git
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:
parent
76bd6cd2d9
commit
dc76449661
|
@ -24777,7 +24777,7 @@ $as_echo "#define SDL_AUDIO_DRIVER_ANDROID 1" >>confdefs.h
|
||||||
# Set up files for the joystick library
|
# Set up files for the joystick library
|
||||||
if test x$enable_joystick = xyes; then
|
if test x$enable_joystick = xyes; then
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
linux|freebsd)
|
linux)
|
||||||
|
|
||||||
$as_echo "#define SDL_JOYSTICK_LINUX 1" >>confdefs.h
|
$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
|
# Set up files for the haptic library
|
||||||
if test x$enable_haptic = xyes; then
|
if test x$enable_haptic = xyes; then
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
linux|freebsd)
|
linux)
|
||||||
if test x$use_input_events = xyes; then
|
if test x$use_input_events = xyes; then
|
||||||
|
|
||||||
$as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
|
$as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
|
||||||
|
|
Loading…
Reference in New Issue