Provide statical linking of GnomeVFS "libntfs" method for: --enable-standalone
[captive.git] / src / libcaptive / client / options-module.c
index bd89bc3..a33ec6c 100644 (file)
@@ -37,6 +37,7 @@
 
 static void module_check_captivemodid(struct captive_options_module *options_module,const gchar *pathname_utf8)
 {
+#ifdef HAVE_LIBXML_XMLREADER_H
        if (!captive_options->captivemodid) {
                if (!captive_options->load_untested)
                        g_error(_(
@@ -59,6 +60,7 @@ static void module_check_captivemodid(struct captive_options_module *options_mod
                        "Loading UNTESTED and possibly INCOMPATIBLE module: %s\n"
                        "Although forced by --load-untested you really should get more recent modid database: %s\n"),
                        pathname_utf8,captive_captivemodid_get_pathname_loaded(captive_options->captivemodid));
+#endif /* HAVE_LIBXML_XMLREADER_H */
 }
 
 gboolean captive_options_module_load(struct captive_options_module *options_module,const gchar *pathname_utf8)