projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an optional --without-libplot flag to configure
[pspp-builds.git]
/
src
/
chart.h
diff --git
a/src/chart.h
b/src/chart.h
index eec5bff5b847a1d6d3b679c28156919c1b8651bd..8d1a914691f7cfae70589aa27408ef15966de123 100644
(file)
--- a/
src/chart.h
+++ b/
src/chart.h
@@
-21,12
+21,15
@@
#ifndef CHART_H
#define CHART_H
#ifndef CHART_H
#define CHART_H
+#include <config.h>
#include <stdio.h>
#include <stdio.h>
-#include <plot.h>
#include <gsl/gsl_histogram.h>
#include <gsl/gsl_histogram.h>
-
#include "var.h"
#include "var.h"
+#ifndef NO_CHARTS
+#include <plot.h>
+#endif
+
/* Array of standard colour names */
extern const char *data_colour[];
/* Array of standard colour names */
extern const char *data_colour[];
@@
-34,8
+37,10
@@
extern const char *data_colour[];
struct chart {
struct chart {
+#ifndef NO_CHARTS
plPlotter *lp ;
plPlotterParams *pl_params;
plPlotter *lp ;
plPlotterParams *pl_params;
+#endif
/* The geometry of the chart
See diagram at the foot of this file.
/* The geometry of the chart
See diagram at the foot of this file.