diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2013-03-25 18:58:35 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2013-03-25 18:58:35 +0100 |
commit | a4cedbf77462c751f2eab4aa295a0187f855e397 (patch) | |
tree | 2011d6c27b79136c9797f8ff611595397b76c6dd /configure.ac | |
parent | 553fabe73ac34fa9f24daa48201923af04da7d88 (diff) | |
download | emacs-a4cedbf77462c751f2eab4aa295a0187f855e397.tar.gz |
* configure.ac (HAVE_XKB): Define if Xkb is present.
* src/xterm.c: Include X11/XKBlib.h
(XTring_bell): Use XkbBell if HAVE_XKB.
Fixes: debbugs:14041
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d6c730c5033..1c5c1725dab 100644 --- a/configure.ac +++ b/configure.ac @@ -1822,6 +1822,7 @@ if test "${HAVE_X11}" = "yes"; then AC_MSG_RESULT($emacs_xkb) if test $emacs_xkb = yes; then AC_DEFINE(HAVE_XKBGETKEYBOARD, 1, [Define to 1 if you have the XkbGetKeyboard function.]) + AC_DEFINE(HAVE_XKB, 1, [Define to 1 if you have the Xkb extension.]) fi AC_CHECK_FUNCS(XrmSetDatabase XScreenResourceString \ |