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 <keithp@keithp.com>
This commit is contained in:
Keith Packard
2013-11-03 09:56:02 -08:00
parent 33c85beed5
commit aaf0e29619
5 changed files with 71 additions and 7 deletions

View File

@@ -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