configure.ac: Disable subparse when xml is disabled. It woundn't work anyway. Fixes...
authorStefan Kost <ensonic@users.sourceforge.net>
Tue, 2 Sep 2008 15:07:09 +0000 (15:07 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Tue, 2 Sep 2008 15:07:09 +0000 (15:07 +0000)
Original commit message from CVS:
* configure.ac:
Disable subparse when xml is disabled. It woundn't work anyway. Fixes
test runs.

ChangeLog
configure.ac

index 7dad62297abbdd5abf268871bb10009ac96b8b6e..7b9d0dd5f99c76690c159f1089b4aa80293146b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-02  Stefan Kost  <ensonic@users.sf.net>
+
+       * configure.ac:
+         Disable subparse when xml is disabled. It woundn't work anyway. Fixes
+         test runs.
+
 2008-09-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
 
        * po/POTFILES.in:
index 2bd81f1040b75dd15aea9df8577ad14e49ad9f09..11e7f96fda28d0da71d1525549c7fe0523471532 100644 (file)
@@ -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)