From b815c86970094c38080967a527c2d39312f601f1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 4 Mar 2006 21:51:08 +0000 Subject: [PATCH] Get rid of NO_HTML, NO_POSTSCRIPT. --- src/output/ChangeLog | 11 +++++++++++ src/output/html.c | 6 ------ src/output/output.c | 8 -------- src/output/postscript.c | 5 ----- 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/src/output/ChangeLog b/src/output/ChangeLog index 4a96aeb941..4f2d181093 100644 --- a/src/output/ChangeLog +++ b/src/output/ChangeLog @@ -1,3 +1,14 @@ +Sat Mar 4 13:48:16 2006 Ben Pfaff + + We didn't provide a way to define these macros, so obviously + there's little demand for them. + + * html.c: Don't test for NO_HTML. + + * postscript.c: Don't test for NO_POSTSCRIPT. + + * output.c: Don't test for either of those. + Thu Mar 2 08:40:33 WST 2006 John Darrington * Moved files from src directory diff --git a/src/output/html.c b/src/output/html.c index 50561df7c4..1cf65839bb 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -17,9 +17,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* This #if encloses the rest of the file. */ -#if !NO_HTML - #include #include "chart.h" #include "htmlP.h" @@ -648,6 +645,3 @@ struct outp_class html_class = html_finalise_chart }; - -#endif /* !NO_HTML */ - diff --git a/src/output/output.c b/src/output/output.c index f6c2025367..8af1a7b804 100644 --- a/src/output/output.c +++ b/src/output/output.c @@ -220,23 +220,15 @@ void outp_init (void) { extern struct outp_class ascii_class; -#if !NO_POSTSCRIPT extern struct outp_class postscript_class; extern struct outp_class epsf_class; -#endif -#if !NO_HTML extern struct outp_class html_class; -#endif char def[] = "default"; -#if !NO_HTML add_class (&html_class); -#endif -#if !NO_POSTSCRIPT add_class (&epsf_class); add_class (&postscript_class); -#endif add_class (&ascii_class); add_name (def, &def[strlen (def)], OUTP_S_INIT_FILE); diff --git a/src/output/postscript.c b/src/output/postscript.c index 754559ca42..1a2f256b8e 100644 --- a/src/output/postscript.c +++ b/src/output/postscript.c @@ -19,9 +19,6 @@ #include -/*this #if encloses the remainder of the file. */ -#if !NO_POSTSCRIPT - #include #include "chart.h" #include "message.h" @@ -3045,5 +3042,3 @@ struct outp_class epsf_class = ps_chart_finalise }; - -#endif /* NO_POSTSCRIPT */ -- 2.30.2