diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 1 insertions, 12 deletions
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 <X11/extensions/XInput.h>])], - [], [[#include <X11/Xlib.h>>]])], - [], [-lXi $x_libs]) - -AM_CONDITIONAL(HAVE_XINPUT, [test $have_xinput = yes]) -AC_SUBST(XINPUT_LIBS) +PKG_CHECK_MODULES(XINPUT, xi) dnl --------------------------------------------------------------------------- dnl - Fontconfig |