tests/icles: make cog test program depend on USE_COG. Fixes build without orc.
authorMichael Smith <msmith@songbirdnest.com>
Fri, 20 Nov 2009 21:41:27 +0000 (13:41 -0800)
committerMichael Smith <msmith@songbirdnest.com>
Fri, 20 Nov 2009 21:41:27 +0000 (13:41 -0800)
tests/icles/Makefile.am

index 9ea9f1c..db5dbcf 100644 (file)
@@ -46,6 +46,7 @@ else
 COG_TESTS =
 endif
 
+if USE_COG
 BUILT_SOURCES = cog-test.c
 CLEANFILES = cog-test.c
 
@@ -55,6 +56,7 @@ cog-test.c: $(srcdir)/../../ext/cog/cog.orc
 cog_test_SOURCES = cog-test.c
 cog_test_CFLAGS = $(COG_CFLAGS)
 cog_test_LDADD = -lorc-test-0.4 $(COG_LIBS)
+endif
 
 equalizer_test_SOURCES = equalizer-test.c
 equalizer_test_CFLAGS  = $(GST_CFLAGS)