r13921 jmb - /trunk/libnsfb/Makefile

netsurf at semichrome.net netsurf at semichrome.net
Sat May 12 19:11:34 BST 2012


Author: jmb
Date: Sat May 12 13:11:34 2012
New Revision: 13921

URL: http://source.netsurf-browser.org?rev=13921&view=rev
Log:
Require xcb-util if it exists

Modified:
    trunk/libnsfb/Makefile

Modified: trunk/libnsfb/Makefile
URL: http://source.netsurf-browser.org/trunk/libnsfb/Makefile?rev=13921&r1=13920&r2=13921&view=diff
==============================================================================
--- trunk/libnsfb/Makefile (original)
+++ trunk/libnsfb/Makefile Sat May 12 13:11:34 2012
@@ -62,6 +62,11 @@
   $(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)




More information about the netsurf-commits mailing list