From 789ab037d17893c49d00aecbf211880affc7d2ce Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sat, 26 Jul 2008 17:08:23 +0000 Subject: Add simple, experimental Makefile.config support. * GTK-specific features, such as RSVG and librosprite, can be set to one of three options; YES, NO or AUTO. AUTO will attempt to auto-detect its availability and enable it if it is available. * Haru PDF export/printing is enabled via this also. It lacks a pkg-config file and works on RISC OS too, and thus has no auto-detection. Disabling it disables the PDF-related menu entries in nsgtk. svn path=/trunk/netsurf/; revision=4747 --- pdf/pdf_plotters.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pdf/pdf_plotters.c') diff --git a/pdf/pdf_plotters.c b/pdf/pdf_plotters.c index 50d7067eb..c641eef8f 100644 --- a/pdf/pdf_plotters.c +++ b/pdf/pdf_plotters.c @@ -22,6 +22,9 @@ * boundaries a 'fuzzy' bottom margin. */ +#include "utils/config.h" +#ifdef WITH_PDF_EXPORT + #include #include #include "hpdf.h" @@ -771,4 +774,6 @@ void pdf_page_apply_notext_clip() #endif } +#endif /* WITH_PDF_EXPORT */ + -- cgit v1.2.3