In fact, kdrive could be compiled without xkb support. But there is no possibility to disable it from configure.ac.
Created attachment 9345 [details] [review] add an AC_ARG_ENABLE for xkb to configure.ac now xkb can be disabled with --disable-xkb
xkb is no longer optional at all.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.