Fixed bug 4655 - evdev is available on FreeBSD, check in 'configure' limited to Linux

Jan Martin Mikkelsen

The evdev interface is available on FreeBSD, with the xf86-input-evdev for include files in /usr/local/include/linux, so <linux/input.h> works, or when build with the native evdev option, where <dev/evdev/input.h> is available.
This commit is contained in:
Sam Lantinga 2019-06-05 12:03:45 -07:00
parent 23569362dc
commit 6c0b304c93
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -24403,13 +24403,13 @@ case "$host" in
CheckVulkan
CheckWayland
CheckLibUDev
CheckInputEvents
CheckDBus
CheckIME
CheckIBus
CheckFcitx
case $ARCH in
linux)
CheckInputEvents
CheckInputKD
;;
esac

View File

@ -3333,6 +3333,7 @@ case "$host" in
CheckOpenGLESX11
CheckVulkan
CheckWayland
CheckInputEvents
CheckLibUDev
CheckDBus
CheckIME
@ -3340,7 +3341,6 @@ case "$host" in
CheckFcitx
case $ARCH in
linux)
CheckInputEvents
CheckInputKD
;;
esac