From 27abb730b290f3516582d2d787ef64af76663f97 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Mon, 7 May 2012 13:46:09 +0200 Subject: Enable configure switch for cups This allows us not to have cups during the build time of libreoffice. Commit is inspired from patch from Dave Flogeras . Change-Id: I I32a14eb6e7bdd13de1a737d4798c852a830ae326 --- vcl/unx/generic/printer/ppdparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/unx/generic') diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index e5553961b166..9acee5658a2b 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -655,7 +655,7 @@ const PPDParser* PPDParser::getParser( const String& rFile ) PrinterInfoManager& rMgr = PrinterInfoManager::get(); if( rMgr.getType() == PrinterInfoManager::CUPS ) { -#if !defined(ANDROID) && !defined(LIBO_HEADLESS) +#if defined HAVE_CUPS_H pNewParser = const_cast(static_cast(rMgr).createCUPSParser( aFile )); #endif } -- cgit