Only check for Linux-specific input APIs on Linux targets (thanks, Marcus!).
authorRyan C. Gordon <icculus@icculus.org>
Sat, 25 Apr 2015 20:49:26 -0400
changeset 957498c57505d74d
parent 9573 cc6cba65bf36
child 9575 957d1cf8e26f
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.
configure
configure.in
     1.1 --- a/configure	Wed Apr 08 12:14:36 2015 +0200
     1.2 +++ b/configure	Sat Apr 25 20:49:26 2015 -0400
     1.3 @@ -23001,8 +23001,12 @@
     1.4          CheckLibUDev
     1.5          CheckDBus
     1.6          CheckIBus
     1.7 -        CheckInputEvents
     1.8 -        CheckInputKD
     1.9 +        case $ARCH in
    1.10 +          linux)
    1.11 +              CheckInputEvents
    1.12 +              CheckInputKD
    1.13 +          ;;
    1.14 +        esac
    1.15          CheckTslib
    1.16          CheckUSBHID
    1.17          CheckPTHREAD
     2.1 --- a/configure.in	Wed Apr 08 12:14:36 2015 +0200
     2.2 +++ b/configure.in	Sat Apr 25 20:49:26 2015 -0400
     2.3 @@ -2897,8 +2897,12 @@
     2.4          CheckLibUDev
     2.5          CheckDBus
     2.6          CheckIBus
     2.7 -        CheckInputEvents
     2.8 -        CheckInputKD
     2.9 +        case $ARCH in
    2.10 +          linux)
    2.11 +              CheckInputEvents
    2.12 +              CheckInputKD
    2.13 +          ;;
    2.14 +        esac
    2.15          CheckTslib
    2.16          CheckUSBHID
    2.17          CheckPTHREAD