Re: [PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-28 Thread Thomas Klausner
On Sun, Jul 28, 2013 at 04:18:40PM +0200, Thomas Klausner wrote: > On Sat, Jul 27, 2013 at 01:47:10PM +0200, Mark Kettenis wrote: > > > From: Thomas Klausner > > > Date: Fri, 26 Jul 2013 23:24:16 +0200 > > > > > > Signed-off-by: Thomas Klausner > > > > There should be no need to add -DPCVT_SUPP

Re: [PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-28 Thread Thomas Klausner
es in the X driver so make it the default only where we know it will work I don't know what the issue with "standard" is, sorry. I'll ask on tech-x11@NetBSD to find out. New patch attached. Thomas >From edb7c1054981866820646690f9a6a1de8e9abcab Mon Sep 17 00:00:00 2001 From: T

Re: [PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-27 Thread Mark Kettenis
> From: Thomas Klausner > Date: Fri, 26 Jul 2013 23:24:16 +0200 > > Signed-off-by: Thomas Klausner There should be no need to add -DPCVT_SUPPORT and -DWSCONS_SUPPORT. Those defines should come from . Can you explain why the "standard" protocol doesn't work on powerpc/sparc/sparc64/vax in NetBS

Re: [PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-27 Thread Thomas Klausner
would be nice to have the two inner sets of case > statements use the same levels of indentation as each other. Oops. Updated patch attached. Thanks, Thomas >From c62f6dff6a6096ac782b66053577d8d119b215ae Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Fri, 26 Jul 2013 23:18:02 +0200

Re: [PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-26 Thread Alan Coopersmith
On 07/26/13 02:24 PM, Thomas Klausner wrote: +case $host_os in + netbsd*) + case $host in +*i386*|*x86_64*) +OS_FLAGS="$OS_FLAGS -DPCVT_SUPPORT" +;; +*powerpc-*|*sparc-*|*sparc64-*|*vax-*) +OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD" +;; + esac + case "$(uname -m 2>&1)" in

[PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-26 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- configure.ac| 22 ++ src/Makefile.am | 2 +- src/kbd.c | 8 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c699f6e..0106343 100644 --- a/configure.ac +++ b/configure.ac @@