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>
This commit is contained in:
Peter Korsgaard
2009-05-14 17:03:23 +02:00
parent 419257b191
commit 0a761ca8aa
2 changed files with 19 additions and 0 deletions

View File

@@ -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))