2001-10-17 10:21:27 +00:00
|
|
|
/* 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__
|
|
|
|
|
|
|
|
|
|
|
|
/***** We include config.h in case someone perhaps used a gstreamer.m4 or
|
|
|
|
something else that provides funky overrides. BEWARE! *****/
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif /* HAVE_CONFIG_H */
|
|
|
|
|
|
|
|
|
|
|
|
/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
|
|
|
|
|
|
|
|
#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
|
2001-12-13 19:00:58 +00:00
|
|
|
#ifdef HAVE_LIBXML2
|
|
|
|
#include <libxml/parser.h>
|
|
|
|
#else /* impossibly broken header namespacing */
|
2001-10-17 10:21:27 +00:00
|
|
|
#include <parser.h>
|
2001-12-13 19:00:58 +00:00
|
|
|
#endif
|
2001-10-17 10:21:27 +00:00
|
|
|
|
|
|
|
// Include compatability defines: if libxml hasn't already defined these,
|
|
|
|
// we have an old version 1.x
|
|
|
|
#ifndef xmlChildrenNode
|
|
|
|
#define xmlChildrenNode childs
|
|
|
|
#define xmlRootNode root
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#else
|
|
|
|
#define GST_DISABLE_LOADSAVE_REGISTRY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __GST_CONFIG_H__ */
|