From aaf0e29619196a283fee7ead2020a91032d84f48 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 3 Nov 2013 09:56:02 -0800 Subject: Disable DRI3 and sync fence FD functions if xshmfence isn't available Make sure the server can build when the xshmfence library isn't present Signed-off-by: Keith Packard --- miext/sync/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'miext/sync') diff --git a/miext/sync/Makefile.am b/miext/sync/Makefile.am index e25ceacb0..ac13c52e2 100644 --- a/miext/sync/Makefile.am +++ b/miext/sync/Makefile.am @@ -8,8 +8,13 @@ if XORG sdk_HEADERS = misync.h misyncstr.h misyncshm.h endif +XSHMFENCE_SRCS = misyncshm.c + libsync_la_SOURCES = \ misync.c \ misync.h \ - misyncshm.c \ misyncstr.h + +if XSHMFENCE +libsync_la_SOURCES += $(XSHMFENCE_SRCS) +endif -- cgit v1.2.3