summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorrunge <runge>2003-12-09 03:01:00 +0000
committerrunge <runge>2003-12-09 03:01:00 +0000
commitb7643ac9aae1d0ac319d3cfc285c8ac2ff0fb0dd (patch)
treecd8495a9dac6f86962e4eae767c08d61aa94a9ce /configure.ac
parent13716c3e2f47466771731baadc977d19c4107f38 (diff)
downloadlibtdevnc-b7643ac9aae1d0ac319d3cfc285c8ac2ff0fb0dd.tar.gz
libtdevnc-b7643ac9aae1d0ac319d3cfc285c8ac2ff0fb0dd.zip
x11vnc: XBell events, -nofb, -notruecolor, misc. cleaning
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7ea3b28..147be1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,11 @@ fi
# Checks for X libraries
HAVE_X="false"
AC_PATH_XTRA
+AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present])
if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
+ AC_CHECK_LIB(X11, XkbSelectEvents,
+ [AC_DEFINE(HAVE_XKEYBOARD)], ,
+ $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, HAVE_XTEST="true",
HAVE_XTEST="false",
$X_LIBS $X_PRELIBS -lX11 -lXext $X_EXTRA_LIBS)