summaryrefslogtreecommitdiffstats
path: root/kxkb/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kxkb/configure.in.in')
-rw-r--r--kxkb/configure.in.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/kxkb/configure.in.in b/kxkb/configure.in.in
new file mode 100644
index 000000000..64a70bdf1
--- /dev/null
+++ b/kxkb/configure.in.in
@@ -0,0 +1,15 @@
+# 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>
+])