Explorar o código

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.
Sam Lantinga %!s(int64=6) %!d(string=hai) anos
pai
achega
6c0b304c93
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      configure
  2. 1 1
      configure.ac

+ 1 - 1
configure

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

+ 1 - 1
configure.ac

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