tests/check/Makefile.am: Only run the id3v2mux check if taglib is available and the...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 3 Apr 2006 11:08:44 +0000 (11:08 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 3 Apr 2006 11:08:44 +0000 (11:08 +0000)
Original commit message from CVS:
* tests/check/Makefile.am:
Only run the id3v2mux check if taglib is available and
the taglib plugin has been built.

ChangeLog
tests/check/Makefile.am

index f48906c..81b08e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-04-03  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * tests/check/Makefile.am:
+         Only run the id3v2mux check if taglib is available and
+         the taglib plugin has been built.
+
+2006-04-03  Tim-Philipp Müller  <tim at centricular dot net>
+
        * ext/swfdec/Makefile.am:
          Don't set plugindir.
 
index d363750..ba7b0de 100644 (file)
@@ -26,8 +26,15 @@ SUPPRESSIONS = $(top_srcdir)/common/gst.supp
 
 clean-local: clean-local-check
 
-check_PROGRAMS =                               \
-       elements/tagid3v2mux
+
+if USE_TAGLIB
+check_taglib = elements/tagid3v2mux
+else
+check_taglib =
+endif
+
+check_PROGRAMS = $(check_taglib)
+
 TESTS = $(check_PROGRAMS)
 
 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)