diff options
| author | Jan Djärv | 2013-03-25 18:58:35 +0100 |
|---|---|---|
| committer | Jan Djärv | 2013-03-25 18:58:35 +0100 |
| commit | a4cedbf77462c751f2eab4aa295a0187f855e397 (patch) | |
| tree | 2011d6c27b79136c9797f8ff611595397b76c6dd /configure.ac | |
| parent | 553fabe73ac34fa9f24daa48201923af04da7d88 (diff) | |
| download | emacs-a4cedbf77462c751f2eab4aa295a0187f855e397.tar.gz emacs-a4cedbf77462c751f2eab4aa295a0187f855e397.zip | |
* 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 | |||
| 1822 | AC_MSG_RESULT($emacs_xkb) | 1822 | AC_MSG_RESULT($emacs_xkb) |
| 1823 | if test $emacs_xkb = yes; then | 1823 | if test $emacs_xkb = yes; then |
| 1824 | AC_DEFINE(HAVE_XKBGETKEYBOARD, 1, [Define to 1 if you have the XkbGetKeyboard function.]) | 1824 | AC_DEFINE(HAVE_XKBGETKEYBOARD, 1, [Define to 1 if you have the XkbGetKeyboard function.]) |
| 1825 | AC_DEFINE(HAVE_XKB, 1, [Define to 1 if you have the Xkb extension.]) | ||
| 1825 | fi | 1826 | fi |
| 1826 | 1827 | ||
| 1827 | AC_CHECK_FUNCS(XrmSetDatabase XScreenResourceString \ | 1828 | AC_CHECK_FUNCS(XrmSetDatabase XScreenResourceString \ |