diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2008-07-26 17:08:23 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2008-07-26 17:08:23 +0000 |
commit | 789ab037d17893c49d00aecbf211880affc7d2ce (patch) | |
tree | d8637648de0d8edbe178dfbd304653ba4d96add6 /gtk/gtk_print.c | |
parent | 35d3d6d0bb16abeeb6aad2fd0398c8e68a40d414 (diff) | |
download | netsurf-789ab037d17893c49d00aecbf211880affc7d2ce.tar.gz netsurf-789ab037d17893c49d00aecbf211880affc7d2ce.tar.bz2 |
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
Diffstat (limited to 'gtk/gtk_print.c')
-rw-r--r-- | gtk/gtk_print.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtk_print.c b/gtk/gtk_print.c index 6056eec61..f32fcc64e 100644 --- a/gtk/gtk_print.c +++ b/gtk/gtk_print.c @@ -23,7 +23,9 @@ * plotters, printer) are here. * Most of the plotters have been copied from the gtk_plotters.c file. */ - + +#include "utils/config.h" +#ifdef WITH_PDF_EXPORT #include <math.h> #include <gdk/gdk.h> @@ -571,3 +573,5 @@ void gtk_print_signal_end_print(GtkPrintOperation *operation, LOG(("End print")); print_cleanup(content_to_print, >k_printer); } + +#endif /* WITH_PDF_EXPORT */ |