# add this here so the test programs below compile
KDE_CHECK_HEADER(X11/Xlib.h)
KDE_CHECK_HEADER(X11/extensions/XKBstr.h, ,
  DO_NOT_COMPILE="$DO_NOT_COMPILE kxkb",
[
#include <X11/Xlib.h>
])
dnl Solaris lacks this file, so we should skip kxkbd here
KDE_CHECK_HEADER(X11/extensions/XKBrules.h, ,
  DO_NOT_COMPILE="$DO_NOT_COMPILE kxkb",
[
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/XKBlib.h>
])