summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@fido2.homeip.net>2008-10-17 19:41:07 -0700
committerPhilip Langdale <philipl@fido2.homeip.net>2008-10-17 19:41:07 -0700
commit64760dae6b1184405641b6b46a7967d114f4ab80 (patch)
tree0a735be4b4b869d4aa7dc18b5bdd5574713c5ece /configure.ac
parentf978146de9c798e7405a7a09c5b4421e9429bf91 (diff)
Properly set axis range and resolution for Server 1.5+
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a57851f..639ba74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,9 @@ PKG_CHECK_EXISTS([xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90],
[AC_DEFINE([CALL_CONVERSION_PROC], 1,
[Call conversion_proc from within the driver, as
Xserver doesn't])])
+PKG_CHECK_EXISTS([xorg-server > 1.4.0.90],
+ [AC_DEFINE([ABS_VALUATOR_AXES], 1,
+ [Define absolute valuator axes])])
CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
AC_SUBST([CFLAGS])