summaryrefslogtreecommitdiff
path: root/gst/gstconfig.h.in
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-06-29 14:05:49 +0000
committerBenjamin Otte <otte@gnome.org>2003-06-29 14:05:49 +0000
commit803ce6bf4884d8e5a0a16899ec0ad7d6757749e3 (patch)
treeb74a727107163f74dba674935d8368a530b1d6bb /gst/gstconfig.h.in
parent30438fd472b634da9a649b78efe6063dcb695c21 (diff)
GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS: GST_DEBUG reorganization This is a big diff (ca 450k), containing loads of stuff: - gstinfo.[ch] complete rewrite - changing of all GST_DEBUG messages to reflect that change - reorganization of subsystem disabling - addition of gstconfig.h.in so we can track the disablings - <gst/gst.h> does not include <unistd.h> and <config.h> anymore - documentation updated for gstinfo stuff (build the docs yourself to know what changed) - bugfixes for making of the docs (files from CVS are not deleted anymore - testsuite for debugging changes in testsuite/debug expect breakage
Diffstat (limited to 'gst/gstconfig.h.in')
-rw-r--r--gst/gstconfig.h.in73
1 files changed, 73 insertions, 0 deletions
diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in
new file mode 100644
index 000000000..279282169
--- /dev/null
+++ b/gst/gstconfig.h.in
@@ -0,0 +1,73 @@
+/* This header interprets the various GST_* macros that are typically *
+ * provided by the gstreamer-config or gstreamer.pc files. */
+
+#ifndef __GST_CONFIG_H__
+#define __GST_CONFIG_H__
+
+/***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
+
+#if 0
+#define GST_DISABLE_LOADSAVE_REGISTRY 1
+#define GST_DISABLE_GST_DEBUG 1
+#define GST_DISABLE_LOADSAVE 1
+#define GST_DISABLE_TYPEFIND 1
+#define GST_DISABLE_AUTOPLUG 1
+#define GST_DISABLE_PARSE 1
+#define GST_DISABLE_TRACE 1
+#define GST_DISABLE_ALLOC_TRACE 1
+#define GST_DISABLE_REGISTRY 1
+#define GST_DISABLE_ENUMTYPES 1
+#define GST_DISABLE_INDEX 1
+#define GST_DISABLE_PLUGIN 1
+#define GST_DISABLE_URI 1
+#endif
+
+
+/***** disabling of subsystems *****/
+
+/* wether or not the debugging subsystem is enabled */
+@GST_DISABLE_GST_DEBUG_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_LOADSAVE_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_TYPEFIND_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_AUTOPLUG_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_PARSE_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_TRACE_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_ALLOC_TRACE_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_REGISTRY_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_ENUMTYPES_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_INDEX_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_PLUGIN_DEFINE@
+
+/* DOES NOT WORK */
+@GST_DISABLE_URI_DEFINE@
+
+
+/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
+
+#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
+# include <libxml/parser.h>
+#else
+# define GST_DISABLE_LOADSAVE_REGISTRY
+#endif
+
+#endif /* __GST_CONFIG_H__ */