[monkey-bubble: 402/753] adding conditional build flag



commit 267c30ec64dcfd418390e531b1bd5a220c8e1946
Author: Laszlo Kovacs <laszlo src gnome org>
Date:   Fri Jun 8 16:09:14 2001 +0000

    adding conditional build flag

 help-converters/docbook/gnome-db2html3.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/help-converters/docbook/gnome-db2html3.c b/help-converters/docbook/gnome-db2html3.c
index 6bbd82b..a4df195 100644
--- a/help-converters/docbook/gnome-db2html3.c
+++ b/help-converters/docbook/gnome-db2html3.c
@@ -6,6 +6,9 @@
  *
  */
 
+#ifdef USE_GNOME_DB2HTML3
+
+#include <config.h>
 #include <glib.h>
 #include <string.h>
 #include <sys/time.h>
@@ -40,6 +43,9 @@ main(int argc, char **argv) {
 	gboolean has_rootid;
  
 	has_rootid = FALSE; 
+	gdb_doc = NULL;
+	gdb_rootid = NULL;
+
 	/* stylesheet location based on Linux Standard Base      *
 	 * http://www.linuxbase.org/spec/gLSB/gLSB/sgmlr002.html */
 	gdb_stylesheet = g_strconcat (PREFIXDIR, "/share/sgml/docbook/gnome-customization-0.1/gnome-customization.xsl", NULL);
@@ -129,3 +135,12 @@ main(int argc, char **argv) {
 	
 	return (1);
 }
+
+#else
+
+int
+main(int argc, char **argv) {
+	return 1;
+}
+
+#endif /* USE_GNOME_DB2HTML3 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]