We always have libxml installed.

This commit is contained in:
Martin Baulig
2001-04-20 22:35:57 +00:00
parent db93479a51
commit 222b93c33f

View File

@@ -32,8 +32,6 @@
static GHashTable *_glibtop_backend_list = NULL;
static long _glibtop_backend_nr = 0;
#if HAVE_LIBXML
#define LIBGTOP_XML_NAMESPACE "http://www.home-of-linux.org/libgtop/1.1"
#include <libxml/parser.h>
@@ -42,8 +40,6 @@ static long _glibtop_backend_nr = 0;
static void _glibtop_init_gmodule_backends (const char *);
#endif /* HAVE_LIBXML */
void
glibtop_init_backends (void)
{
@@ -53,15 +49,11 @@ glibtop_init_backends (void)
return;
backends_initialized = 1;
#if HAVE_LIBXML
LIBXML_TEST_VERSION;
_glibtop_init_gmodule_backends (LIBGTOP_BACKEND_DIR);
#endif
}
#if HAVE_LIBXML
static gchar *
_get_library_filename (xmlDocPtr doc, xmlNodePtr cur, const char *directory)
{
@@ -227,8 +219,6 @@ _glibtop_init_gmodule_backends (const char *directory)
closedir (dir);
}
#endif /* HAVE_LIBXML */
long
glibtop_register_backend (glibtop_backend_entry *entry)
{