2340
2338
dnl ---------------------------------------------------------------------------
2343
2341
dnl Check for XKB bell extension
2344
2342
AC_DEFUN([CF_XKB_BELL_EXT],[
2345
2343
AC_CACHE_CHECK(for XKB Bell extension, cf_cv_xkb_bell_ext,[
2347
2346
#include <X11/XKBlib.h> /* has the prototype */
2348
2347
#include <X11/extensions/XKBbells.h> /* has the XkbBI_xxx definitions */
2351
XkbBell((Display *)0, (Widget)0, 0, y);
2355
2352
],[cf_cv_xkb_bell_ext=yes],[cf_cv_xkb_bell_ext=no])
2358
2354
test "$cf_cv_xkb_bell_ext" = yes && AC_DEFINE(HAVE_XKB_BELL_EXT)
2360
2356
dnl ---------------------------------------------------------------------------