Commit 13968a23 authored by Matthias Hopf's avatar Matthias Hopf Committed by Donnie Berkholz

Bug #3104: Compose table cache for faster X11 application starts.

(cherry picked from 4fe22647 commit)
parent e7f8bca0
......@@ -288,6 +288,15 @@ else
fi
AC_SUBST(XKBPROTO_REQUIRES)
AC_FUNC_MMAP()
AC_ARG_ENABLE(composecache,
AC_HELP_STRING([--disable-composecache],
[Disable compose table cache support]),
[COMPOSECACHE=$enableval],[COMPOSECACHE=$ac_cv_func_mmap_fixed_mapped])
if test x"$COMPOSECACHE" = "xyes"; then
AC_DEFINE(COMPOSECACHE,1,[Include compose table cache support])
fi
if test "x$GCC" = "xyes"; then
GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
......@@ -420,4 +429,5 @@ echo " XF86BigFont support: "$XF86BIGFONT
echo " XKB support: "$XKB
echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
echo " Manual pages installed: "$LIBMAN_SUFFIX
echo " Compose table cache enabled: "$COMPOSECACHE
echo ""
......@@ -76,7 +76,7 @@ _XimSetHeader(
return;
}
Private char
Public char
_XimGetMyEndian(void)
{
CARD16 test_card = 1;
......
This diff is collapsed.
......@@ -672,6 +672,10 @@ extern int _XimLcctstoutf8(
Status *state
);
extern char _XimGetMyEndian(
void
);
extern int _XimCheckDataSize(
XPointer buf,
int len
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment