summaryrefslogtreecommitdiff
path: root/driver/xf86-input-keyboard/configure.ac
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2013-11-11 16:52:01 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2013-11-11 16:52:01 +0000
commit68b039991d2bc85fee8fdb84e837da7962428597 (patch)
treee0727fff9b236318cf377acfb6f613b4ba689f76 /driver/xf86-input-keyboard/configure.ac
parent4c6d0b04105955e514d880418ca8d8cae9f873bb (diff)
Update to xf86-input-keyboard 1.8.0.
ok matthieu@
Diffstat (limited to 'driver/xf86-input-keyboard/configure.ac')
-rw-r--r--driver/xf86-input-keyboard/configure.ac18
1 files changed, 17 insertions, 1 deletions
diff --git a/driver/xf86-input-keyboard/configure.ac b/driver/xf86-input-keyboard/configure.ac
index c699f6e2a..8c10bb518 100644
--- a/driver/xf86-input-keyboard/configure.ac
+++ b/driver/xf86-input-keyboard/configure.ac
@@ -23,7 +23,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xf86-input-keyboard],
- [1.7.0],
+ [1.8.0],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
[xf86-input-keyboard])
AC_CONFIG_SRCDIR([Makefile.am])
@@ -79,6 +79,22 @@ case $host_os in
porting it.])
;;
esac
+case $host_os in
+ netbsd*)
+ case $host in
+ *powerpc-*|*sparc-*|*sparc64-*|*vax-*)
+ OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
+ ;;
+ esac
+ case "$(uname -m 2>&1)" in
+ evbarm|sgimips|shark)
+ OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
+ ;;
+ esac
+ ;;
+esac
+AC_SUBST([OS_FLAGS])
+
AM_CONDITIONAL(LINUX, [test "x$IS_LINUX" = xyes])
AM_CONDITIONAL(BSD, [test "x$IS_BSD" = xyes])
AM_CONDITIONAL(SOLARIS, [test "x$IS_SOLARIS" = xyes])