Commit 8d2c522f3156c3381d8530ce2346d1ec84fafe8d

Kristian Høgsberg 2010-10-21T21:34:41

Don't check for xlib, we don't need it

diff --git a/configure.ac b/configure.ac
index 2ab311c..670700f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,6 @@ if  test "x$GCC" = xyes ; then
 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])
diff --git a/src/Makefile.am b/src/Makefile.am
index 916858f..0159a6d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,10 +1,10 @@
 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 \