GST_DEBUG reorganization containing loads of stuff:
[platform/upstream/gstreamer.git] / gst / gstconfig.h.in
1 /* This header interprets the various GST_* macros that are typically   *
2  * provided by the gstreamer-config or gstreamer.pc files.              */
3
4 #ifndef __GST_CONFIG_H__
5 #define __GST_CONFIG_H__
6
7 /***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
8
9 #if 0
10 #define GST_DISABLE_LOADSAVE_REGISTRY 1
11 #define GST_DISABLE_GST_DEBUG 1
12 #define GST_DISABLE_LOADSAVE 1
13 #define GST_DISABLE_TYPEFIND 1
14 #define GST_DISABLE_AUTOPLUG 1
15 #define GST_DISABLE_PARSE 1
16 #define GST_DISABLE_TRACE 1
17 #define GST_DISABLE_ALLOC_TRACE 1
18 #define GST_DISABLE_REGISTRY 1
19 #define GST_DISABLE_ENUMTYPES 1
20 #define GST_DISABLE_INDEX 1
21 #define GST_DISABLE_PLUGIN 1
22 #define GST_DISABLE_URI 1
23 #endif
24
25
26 /***** disabling of subsystems *****/
27
28 /* wether or not the debugging subsystem is enabled */
29 @GST_DISABLE_GST_DEBUG_DEFINE@
30
31 /* DOES NOT WORK */
32 @GST_DISABLE_LOADSAVE_DEFINE@
33
34 /* DOES NOT WORK */
35 @GST_DISABLE_TYPEFIND_DEFINE@
36
37 /* DOES NOT WORK */
38 @GST_DISABLE_AUTOPLUG_DEFINE@
39
40 /* DOES NOT WORK */
41 @GST_DISABLE_PARSE_DEFINE@
42
43 /* DOES NOT WORK */
44 @GST_DISABLE_TRACE_DEFINE@
45
46 /* DOES NOT WORK */
47 @GST_DISABLE_ALLOC_TRACE_DEFINE@
48
49 /* DOES NOT WORK */
50 @GST_DISABLE_REGISTRY_DEFINE@
51
52 /* DOES NOT WORK */
53 @GST_DISABLE_ENUMTYPES_DEFINE@
54
55 /* DOES NOT WORK */
56 @GST_DISABLE_INDEX_DEFINE@
57
58 /* DOES NOT WORK */
59 @GST_DISABLE_PLUGIN_DEFINE@
60
61 /* DOES NOT WORK */
62 @GST_DISABLE_URI_DEFINE@
63
64
65 /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
66
67 #if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
68 # include <libxml/parser.h>
69 #else
70 # define GST_DISABLE_LOADSAVE_REGISTRY
71 #endif
72
73 #endif /* __GST_CONFIG_H__ */