From 5c09bf73b2a0d129cfdcfa1d831ffc453b8cb417 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 25 Apr 2015 20:49:26 -0400 Subject: [PATCH] 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 | 8 ++++++-- configure.in | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 42283e11f51b4..314c439ac76f5 100755 --- a/configure +++ b/configure @@ -23001,8 +23001,12 @@ case "$host" in CheckLibUDev CheckDBus CheckIBus - CheckInputEvents - CheckInputKD + case $ARCH in + linux) + CheckInputEvents + CheckInputKD + ;; + esac CheckTslib CheckUSBHID CheckPTHREAD diff --git a/configure.in b/configure.in index 38c682bf0dece..fd4200c2ebc59 100644 --- a/configure.in +++ b/configure.in @@ -2897,8 +2897,12 @@ case "$host" in CheckLibUDev CheckDBus CheckIBus - CheckInputEvents - CheckInputKD + case $ARCH in + linux) + CheckInputEvents + CheckInputKD + ;; + esac CheckTslib CheckUSBHID CheckPTHREAD