summaryrefslogtreecommitdiff
path: root/package/cups/cups.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-05-14 17:03:23 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-05-14 17:03:23 +0200
commit0a761ca8aa838cab26ec9792745c38ca2a13f52d (patch)
treee700f241012c9872c5ebb0d5f7f6e244839dff54 /package/cups/cups.mk
parent419257b191d71bd50f6b8a561a5d79a6f688f5a6 (diff)
cups: add pdftops option
The pdftops support in cups needs C++ support, whereas the rest doesn't. Add a BR2_PACKAGE_CUPS_PDFTOPS (depending on C++ support) to enable it if needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cups/cups.mk')
-rw-r--r--package/cups/cups.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index e3d6f78d1..d1bf0fa20 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -58,6 +58,12 @@ else
CUPS_CONF_OPT += --disable-python
endif
+ifeq ($(BR2_PACKAGE_CUPS_PDFTOPS),y)
+ CUPS_CONF_OPT += --enable-pdftops
+else
+ CUPS_CONF_OPT += --disable-pdftops
+endif
+
$(DL_DIR)/$(CUPS_SOURCE):
$(call DOWNLOAD,$(CUPS_SITE),$(CUPS_SOURCE))