From 45906b9dc2c87181f359289abc034f84b44947c4 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 13 Dec 2012 16:31:05 +0000 Subject: make macro name more correct --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9cfc4841e..d8ce8a657 100644 --- a/Makefile +++ b/Makefile @@ -316,10 +316,12 @@ define feature_enabled endif endef +# Extend flags with appropriate values from pkg-config for enabled features +# # 1: Feature name (ie, NETSURF_USE_RSVG -> RSVG) # 2: pkg-config required modules for feature # 3: Human-readable name for the feature -define pkg_config_find_and_add +define pkg_config_find_and_add_enabled ifeq ($$(PKG_CONFIG),) $$(error pkg-config is required to auto-detect feature availability) endif -- cgit v1.2.3