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:
parent
419257b191
commit
0a761ca8aa
|
@ -4,3 +4,16 @@ config BR2_PACKAGE_CUPS
|
||||||
The Common Unix Printing System
|
The Common Unix Printing System
|
||||||
|
|
||||||
http://www.cups.org
|
http://www.cups.org
|
||||||
|
|
||||||
|
if BR2_PACKAGE_CUPS
|
||||||
|
|
||||||
|
config BR2_PACKAGE_CUPS_PDFTOPS
|
||||||
|
bool "pdftops support"
|
||||||
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
help
|
||||||
|
Enable pdftops support
|
||||||
|
|
||||||
|
comment "pdftops support requires a toolchain with C++ support enabled"
|
||||||
|
depends on !BR2_INSTALL_LIBSTDCPP
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
|
@ -58,6 +58,12 @@ else
|
||||||
CUPS_CONF_OPT += --disable-python
|
CUPS_CONF_OPT += --disable-python
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_CUPS_PDFTOPS),y)
|
||||||
|
CUPS_CONF_OPT += --enable-pdftops
|
||||||
|
else
|
||||||
|
CUPS_CONF_OPT += --disable-pdftops
|
||||||
|
endif
|
||||||
|
|
||||||
$(DL_DIR)/$(CUPS_SOURCE):
|
$(DL_DIR)/$(CUPS_SOURCE):
|
||||||
$(call DOWNLOAD,$(CUPS_SITE),$(CUPS_SOURCE))
|
$(call DOWNLOAD,$(CUPS_SITE),$(CUPS_SOURCE))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue