summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-05-12 18:11:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-05-12 18:11:34 +0000
commit1cf710a53ec35f33224328b4df53862def9c6ea6 (patch)
tree7ebd17459438f69f1be4eb1576339196c208664d
parentcf0c457411b017c219be0c968836b0f748e1b12c (diff)
downloadlibnsfb-1cf710a53ec35f33224328b4df53862def9c6ea6.tar.gz
libnsfb-1cf710a53ec35f33224328b4df53862def9c6ea6.tar.bz2
Require xcb-util if it exists
svn path=/trunk/libnsfb/; revision=13921
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2da6d43..4f0008b 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,11 @@ ifeq ($(NSFB_XCB_AVAILABLE),yes)
$(eval $(call pkg_config_package_add_flags,$(NSFB_XCB_PKG_NAMES),TESTCFLAGS,TESTLDFLAGS))
REQUIRED_PKGS := $(REQUIRED_PKGS) $(NSFB_XCB_PKG_NAMES)
+
+ $(eval $(call pkg_config_package_available,NSFB_XCB_UTIL_AVAILABLE,xcb-util))
+ ifeq ($(NSFB_XCB_UTILS_AVAILABLE),yes)
+ REQUIRED_PKGS := $(REQUIRED_PKGS) xcb-util
+ endif
endif
ifeq ($(NSFB_VNC_AVAILABLE),yes)