Device properties are available in a released libXi version now, so there's no
need to keep them conditional, make 1.5 mandatory.
We also have the explicit check for XI2 functions in libXi, so there's no need
to have requirements for inputproto 1.9.99.5.
AC_PROG_INSTALL
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XINPUT, x11 xext xi [inputproto >= 1.9.99.5])
+PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5])
LIBS="$XINPUT_LIBS $LIBS"
AC_CHECK_FUNC(XSetClientPointer,AC_DEFINE(HAVE_XI2,1,[XInput Version 2 Enabled]))
if HAVE_XI2
- xinput2_files = hierarchy.c setcp.c property.c
+ xinput2_files = hierarchy.c setcp.c
endif # HAVE_XI2
xinput_SOURCES = \
setmode.c \
setptr.c \
state.c \
+ property.c \
test.c \
version.c \
xinput.c \
"<window> <device>",
set_clientpointer
},
+#endif
{ "list-props",
"<device> [<device> ...]",
list_props
"<device> <property>",
delete_prop
},
-#endif
{0, 0, 0
}
};