Added an optional --without-libplot flag to configure
[pspp-builds.git] / src / frequencies.q
index acfeed86d3c65e2327e2b364def9b0778df614d9..b5da79bde62b83545e563e5bbd0fde8a5bde8171 100644 (file)
@@ -627,6 +627,7 @@ postcalc (void *aux UNUSED)
        dump_statistics (v, !dumped_freq_tab);
 
 
+#ifndef NO_CHARTS
       if ( chart == GFT_HIST) 
        {
          double d[frq_n_stats];
@@ -652,6 +653,7 @@ postcalc (void *aux UNUSED)
        {
          do_piechart(v_variables[i], ft);
        }
+#endif
 
 
       cleanup_freq_tab (v);
@@ -1612,6 +1614,7 @@ freq_tab_to_slice_array(const struct freq_tab *frq_tab,
 
 
 
+#ifndef NO_CHARTS
 static void
 do_piechart(const struct variable *var, const struct freq_tab *frq_tab)
 {
@@ -1624,6 +1627,7 @@ do_piechart(const struct variable *var, const struct freq_tab *frq_tab)
 
   free(slices);
 }
+#endif
 
 /* 
    Local Variables: