summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-10-30 10:03:45 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-10-30 10:03:45 +0100
commit0e89d006d87a523db45878c7b3f1bcc8ba1234ed (patch)
treeafffce46c501b3e442155d4d88d5cbd9880539b0 /configure
parent7f24e1e1a2a95fa56301ac5f5463decb83cbcb68 (diff)
Fix disabling libxcb-shm and libxcb-xfixes.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index fae9ca1ead..e6e3de3f88 100755
--- a/configure
+++ b/configure
@@ -5030,15 +5030,15 @@ if ! disabled libxcb; then
} && disable x11grab && enable libxcb
if enabled libxcb; then
- disabled libxcb_shm ||
+ disabled libxcb_shm || {
check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || {
enabled libxcb_shm && die "ERROR: libxcb_shm not found";
- } && check_header sys/shm.h && enable libxcb_shm
+ } && check_header sys/shm.h && enable libxcb_shm; }
- disabled libxcb_xfixes ||
+ disabled libxcb_xfixes || {
check_pkg_config xcb-xfixes xcb/xfixes.h xcb_xfixes_get_cursor_image || {
enabled libxcb_xfixes && die "ERROR: libxcb_xfixes not found";
- } && enable libxcb_xfixes
+ } && enable libxcb_xfixes; }
add_cflags "$xcb_event_cflags $xcb_shm_cflags $xcb_xfixes_cflags"
add_extralibs "$xcb_event_libs $xcb_shm_libs $xcb_xfixes_libs"