Commit 6b7f25cd authored by Alan Coopersmith's avatar Alan Coopersmith

Warn if configure does not find Xlib, but don't link against it.

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's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 466e7769
......@@ -51,7 +51,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)
......
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