luit doesn't #include any Xlib headers or call any Xlib functions, just attempts to read Xlib's locale.aliases files if it can find it.
Signed-off-by: Alan Coopersmith <[email protected]> --- configure.ac | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 1458971..4004c8b 100644 --- a/configure.ac +++ b/configure.ac @@ -52,7 +52,11 @@ AC_ARG_WITH(localealiasfile, AC_SUBST([LOCALEALIASFILE]) # Checks for pkg-config packages -PKG_CHECK_MODULES(LUIT, x11 fontenc) +PKG_CHECK_MODULES(LUIT, fontenc) + +# We don't link against libX11, just use its locale.alias data file +PKG_CHECK_EXISTS(x11, [], + [AC_MSG_WARN([libX11 not found. luit may not be able to find locale aliases without it.])]) case $host_os in # darwin has poll() but can't be used to poll character devices (atleast through SnowLeopard) -- 1.5.6.5 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
