From aa8b1bbe1becaec01ece9db08d33545707bb18b3 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 26 Oct 2016 15:51:15 +0300 Subject: build: require XInput unconditionally as done in g-s-d six years ago: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799 --- configure.ac | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b033fc1..5747f7c 100644 --- a/configure.ac +++ b/configure.ac @@ -227,18 +227,7 @@ dnl --------------------------------------------------------------------------- dnl - XInput dnl --------------------------------------------------------------------------- -have_xinput=no -AC_CHECK_X_LIB(Xi, XListInputDevices, - [AC_CHECK_X_HEADERS(X11/extensions/XInput.h, - [AC_CHECK_TYPES([XDevicePresenceNotifyEvent], [ - have_xinput=yes - XINPUT_LIBS="-lXi"], - [], [#include ])], - [], [[#include >]])], - [], [-lXi $x_libs]) - -AM_CONDITIONAL(HAVE_XINPUT, [test $have_xinput = yes]) -AC_SUBST(XINPUT_LIBS) +PKG_CHECK_MODULES(XINPUT, xi) dnl --------------------------------------------------------------------------- dnl - Fontconfig -- cgit v1.2.1