output: Add initial support for PSPP output via Cairo.
[pspp] / src / output / output.c
index 843b0d4e544996cebcd736b25c8225e185337d1f..4dc9902c35452c880252ffe4bc42a80f4e107724 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2007, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -230,12 +230,18 @@ outp_init (void)
 {
   extern struct outp_class ascii_class;
   extern struct outp_class postscript_class;
+#ifdef HAVE_CAIRO
+  extern struct outp_class cairo_class;
+#endif
 
   char def[] = "default";
 
   add_class (&html_class);
   add_class (&postscript_class);
   add_class (&ascii_class);
+#ifdef HAVE_CAIRO
+  add_class (&cairo_class);
+#endif
 
   add_name (def, &def[strlen (def)], OUTP_S_INIT_FILE);
 }