From afffd2d620810a1de46edd11d030c58536da66fc Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 2 Sep 2008 15:07:09 +0000 Subject: [PATCH] configure.ac: Disable subparse when xml is disabled. It woundn't work anyway. Fixes test runs. Original commit message from CVS: * configure.ac: Disable subparse when xml is disabled. It woundn't work anyway. Fixes test runs. --- ChangeLog | 6 ++++++ configure.ac | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7dad62297a..7b9d0dd5f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-02 Stefan Kost + + * configure.ac: + Disable subparse when xml is disabled. It woundn't work anyway. Fixes + test runs. + 2008-09-02 Tim-Philipp Müller * po/POTFILES.in: diff --git a/configure.ac b/configure.ac index 2bd81f1040..11e7f96fda 100644 --- a/configure.ac +++ b/configure.ac @@ -304,6 +304,13 @@ AG_GST_CHECK_PLUGIN(videorate) AG_GST_CHECK_PLUGIN(videoscale) AG_GST_CHECK_PLUGIN(volume) +dnl check for gstreamer core features (subsystems) +GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h" +AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH) +if test $GST_DISABLE_XML = "1"; then + AG_GST_DISABLE_PLUGIN(subparse) +fi + dnl disable plug-ins that require libxml2's HTML support if it is not available if test "x$HAVE_LIBXML_HTML" != "xyes"; then AG_GST_DISABLE_PLUGIN(subparse)