| Summary: | evdev is available on FreeBSD, check in 'configure' limited to Linux | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jan Martin Mikkelsen <janm> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.9 | ||
| Hardware: | x86 | ||
| OS: | FreeBSD | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/0fa532733f3f |
Hi, 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 change to the distribution configure script handles the first case. diff -dur SDL2-2.0.9.orig/configure SDL2-2.0.9/configure --- SDL2-2.0.9.orig/configure 2018-10-31 16:07:22.000000000 +0100 +++ SDL2-2.0.9/configure 2019-05-29 18:31:12.865491000 +0200 @@ -24058,9 +24062,9 @@ CheckIME CheckIBus CheckFcitx + CheckInputEvents case $ARCH in linux) - CheckInputEvents CheckInputKD ;; esac