From ed1c94e9ba75b71cd67a70c33c2fa1cf937dc0ae Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 17 Nov 2010 08:52:01 +1000 Subject: Require server 1.9.99.1 This driver doesn't have enough testers to justify the time spent maintaining several ABIs. Reduce it to one ABI (the current one) and let's not pretend we know if the others still work. Signed-off-by: Peter Hutterer --- configure.ac | 2 +- src/xf86HyperPen.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0488f7b..259257c 100644 --- a/configure.ac +++ b/configure.ac @@ -75,7 +75,7 @@ XORG_DRIVER_CHECK_EXT(RANDR, randrproto) XORG_DRIVER_CHECK_EXT(XINPUT, inputproto) # Checks for pkg-config packages -PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES) +PKG_CHECK_MODULES(XORG, [xorg-server >= 1.9.99.1] xproto $REQUIRED_MODULES) sdkdir=$(pkg-config --variable=sdkdir xorg-server) CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src' diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c index 515cbc6..c9b2ad0 100644 --- a/src/xf86HyperPen.c +++ b/src/xf86HyperPen.c @@ -75,6 +75,10 @@ #define XCONFIG_GIVEN "(**)" #define xf86Verbose 1 +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 12 +#error "This driver requires server with ABI 12." +#endif + /* * Be sure to set vmin appropriately for your device's protocol. You want to * read a full packet before returning -- cgit v1.2.3