All uses changed.
+2013-03-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * configure.ac (HAVE_XKBGETKEYBOARD): Remove.
+ Subsumed by HAVE_XKB. All uses changed.
+
2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz
* lisp/eshell/em-unix.el: Moved su and sudo to...
HAVE_XAW3D
HAVE_XFT
HAVE_XIM
-HAVE_XKBGETKEYBOARD
HAVE_XPM
HAVE_XRMSETDATABASE
HAVE_XSCREENNUMBEROFSCREEN
emacs_xkb=yes, emacs_xkb=no)
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
Keyboard
***********************************************************************/
-#ifdef HAVE_XKBGETKEYBOARD
+#ifdef HAVE_XKB
#include <X11/XKBlib.h>
#include <X11/keysym.h>
#endif
present and mapped to the usual X keysyms. */)
(Lisp_Object frame)
{
-#ifdef HAVE_XKBGETKEYBOARD
+#ifndef HAVE_XKB
+ return Qlambda;
+#else
XkbDescPtr kb;
struct frame *f = check_x_frame (frame);
Display *dpy = FRAME_X_DISPLAY (f);
}
unblock_input ();
return have_keys;
-#else /* not HAVE_XKBGETKEYBOARD */
- return Qlambda;
-#endif /* not HAVE_XKBGETKEYBOARD */
+#endif
}