summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-16 23:23:18 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-30 20:31:13 -0700
commit19989884334aa9b8be1b1389320e59f7927acc2f (patch)
treecac9ccb2a915cfb6f95783990c8cb0ad5117aa5f /src
parent043078947a576c7e4ab7ae67998302eff5c5d593 (diff)
Allow building without xcb for testing on older systems
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d2bbe7d..a1d8306 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,11 +2,14 @@ noinst_LIBRARIES = libXhiv.a
libXhiv_a_SOURCES = \
proto.h \
- xcb_client.c \
xlib_client.c \
xstrans.c \
server.c
+if HAVE_XCB
+ libXhiv_a_SOURCES += xcb_client.c
+endif
+
AM_CFLAGS = $(XHIV_CFLAGS) $(CWARNFLAGS) $(LIBX11_CFLAGS) $(LIBXCB_CFLAGS)
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)/include