configure: set default xkb rules to evdev on Linux

If config/udev was enabled, this would default to base, which means that
after regen the devices would get the wrong rules, and hilarity would
ensue.

It's probably safe to default to evdev unconditionally on Linux by now.

Reported-by: Bastian Blank <waldi@debian.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Julien Cristau 2011-07-26 20:40:38 +02:00 committed by Peter Hutterer
parent 3798dd379c
commit 01de08c7d2
1 changed files with 1 additions and 5 deletions

View File

@ -1187,11 +1187,7 @@ if test "x$XKB_DFLT_RULES" = x; then
case $host_os in
linux*)
dnl doesn't take AutoAddDevices into account, but whatever.
if test "x$CONFIG_HAL" = xyes; then
XKB_DFLT_RULES="evdev"
else
XKB_DFLT_RULES="base"
fi
XKB_DFLT_RULES="evdev"
;;
*)
XKB_DFLT_RULES="base"