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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/configure b/configure
index 4a078eb..7e21bed 100755
--- a/configure
+++ b/configure
@@ -24403,13 +24403,13 @@ case "$host" in
CheckVulkan
CheckWayland
CheckLibUDev
+ CheckInputEvents
CheckDBus
CheckIME
CheckIBus
CheckFcitx
case $ARCH in
linux)
- CheckInputEvents
CheckInputKD
;;
esac
diff --git a/configure.ac b/configure.ac
index f81e0c7..b76c4d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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