Browse Source

Only check for Linux-specific input APIs on Linux targets (thanks, Marcus!).

This is only for the configure script. The CMake project files already make
this Linux-exclusive.

Fixes Bugzilla #2659.
Ryan C. Gordon 10 years ago
parent
commit
5c09bf73b2
2 changed files with 12 additions and 4 deletions
  1. 6 2
      configure
  2. 6 2
      configure.in

+ 6 - 2
configure

@@ -23001,8 +23001,12 @@ case "$host" in
         CheckLibUDev
         CheckDBus
         CheckIBus
-        CheckInputEvents
-        CheckInputKD
+        case $ARCH in
+          linux)
+              CheckInputEvents
+              CheckInputKD
+          ;;
+        esac
         CheckTslib
         CheckUSBHID
         CheckPTHREAD

+ 6 - 2
configure.in

@@ -2897,8 +2897,12 @@ case "$host" in
         CheckLibUDev
         CheckDBus
         CheckIBus
-        CheckInputEvents
-        CheckInputKD
+        case $ARCH in
+          linux)
+              CheckInputEvents
+              CheckInputKD
+          ;;
+        esac
         CheckTslib
         CheckUSBHID
         CheckPTHREAD