fi
PKG_CHECK_MODULES([X11], [xproto kbproto >= 1.0.5])
-PKG_CHECK_MODULES([XLIB], [x11])
dnl Ensure we have keysym headers
AC_MSG_CHECKING([for X11 includedir])
SUBDIRS = makekeys xkbcomp
-INCLUDES = -I$(top_srcdir)/include -I$(builddir)/makekeys $(XLIB_CFLAGS)
+INCLUDES = -I$(top_srcdir)/include -I$(builddir)/makekeys
AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS) $(XMALLOC_ZERO_CFLAGS)
lib_LTLIBRARIES = libxkbcommon.la
-libxkbcommon_la_LIBADD = xkbcomp/libxkbcomp.la $(XLIB_LIBS)
+libxkbcommon_la_LIBADD = xkbcomp/libxkbcomp.la
libxkbcommon_la_SOURCES = \
XKBcommonint.h \
alloc.c \