configure.ac: fix libxml2 check, which is only needed for xml load/save now

Since the registry doesn't use libxml2 any longer, it's no longer necessary
to disable both xml load/save *and* the registry to get rid of the libxml2
dependency, disabling just xml loading/saving is enough. Fixes #590841.
This commit is contained in:
Tim-Philipp Müller 2009-08-05 13:25:33 +01:00
parent 19847e1956
commit cc57c404fd

View file

@ -491,8 +491,8 @@ dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
AC_SUBST(GLIB_PREFIX)
dnl libxml 2 is optional in some cases
if test "x$GST_DISABLE_LOADSAVE" = "xyes" -a "x$GST_DISABLE_REGISTRY" = "xyes"
dnl libxml2 is only needed for xml loading/saving of pipelines these days
if test "x$GST_DISABLE_LOADSAVE" = "xyes"
then
AC_MSG_NOTICE([XML registry and load/save are disabled, not checking for libxml2])
GST_DISABLE_XML_DEFINE="#define GST_DISABLE_XML 1"