summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8988650..54b2c6c 100644
--- a/configure.in
+++ b/configure.in
@@ -235,6 +235,17 @@ if test "x$found_shape" = "xyes"; then
AC_DEFINE(HAVE_SHAPE, , [Have the shape extension library])
fi
+found_xkb=no
+AC_CHECK_LIB(X11, XkbQueryExtension,
+ [AC_CHECK_HEADER(X11/XKBlib.h,
+ found_xkb=yes)],
+ , $ALL_X_LIBS)
+
+if test "x$found_xkb" = "xyes"; then
+ AC_DEFINE(HAVE_XKB, , [Have keyboard extension library])
+fi
+
+
RANDR_LIBS=
found_randr=no
AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,