diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-03 09:56:02 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-04 18:53:36 -0800 |
commit | aaf0e29619196a283fee7ead2020a91032d84f48 (patch) | |
tree | 5adc6b736ccc25686f909df8eeafcedb9160450d /miext/sync | |
parent | 33c85beed521c9db140cadd8c5aa9992398ee1fe (diff) |
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>
Diffstat (limited to 'miext/sync')
-rw-r--r-- | miext/sync/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
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 |