summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-12-13 16:31:05 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-12-13 16:31:05 +0000
commit45906b9dc2c87181f359289abc034f84b44947c4 (patch)
tree17fc5e04bb4b4c5d3a429d818a2cd052f17104de /Makefile
parent17e20537d4c6cdcb55f1ab68c950264c79ca69b2 (diff)
downloadnetsurf-45906b9dc2c87181f359289abc034f84b44947c4.tar.gz
netsurf-45906b9dc2c87181f359289abc034f84b44947c4.tar.bz2
make macro name more correct
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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