summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-04-03 11:08:44 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-04-03 11:08:44 +0000
commit9c10d61e50fa75852ea5fb80e3bad0b7a9d8a4de (patch)
tree30b7f579b29925c4ac8bcf895e2e795eeac6ef12 /tests
parentbd47eb32fc725a29596d389cd668e0582d5d538a (diff)
downloadgst-plugins-bad-9c10d61e50fa75852ea5fb80e3bad0b7a9d8a4de.tar.gz
gst-plugins-bad-9c10d61e50fa75852ea5fb80e3bad0b7a9d8a4de.tar.bz2
gst-plugins-bad-9c10d61e50fa75852ea5fb80e3bad0b7a9d8a4de.zip
tests/check/Makefile.am: Only run the id3v2mux check if taglib is available and the taglib plugin has been built.
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index d3637504..ba7b0de6 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -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)