config: set the default xkb config root based on xkeyboard-config module
authorGaetan Nadon <memsize@videotron.ca>
Sat, 11 Dec 2010 23:56:21 +0000 (18:56 -0500)
committerGaetan Nadon <memsize@videotron.ca>
Sat, 18 Dec 2010 16:19:57 +0000 (11:19 -0500)
commit1b6e022c97df129b7106a54a366faee64062cfb3
treeebd85ba35eb72e40f89add520e45eefc6f2f4484
parent5e43e7b46c9b231742d7cb4ac2473879756aefd9
config: set the default xkb config root based on xkeyboard-config module

The default value ${dataroot}/X11/xkb only works if xkeyboard-config
has created the keymaps in that directory. Let's obtain the true final
value of where the keymaps are and use that as a default. In a production
environment this is the only value that can work.

This new default value also has the merit of making the 'check' target
to work in distcheck which does not have a copy of the xkeyboard-config
keymaps in its sandbox based on ${dataroot}/X11/xkb. The test data
cannot find the "include" keymaps it needs.
.../libxkbcommon-0.1.0/_inst/share/X11/xkb

Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
configure.ac