From 13056af8b24a86f8fcdaa0956dfd61071ae69932 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 17 Feb 2014 23:45:46 +0100 Subject: Makefile.am: disable test_icy_parser without CURL --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 80fc32d22..9672de8f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1266,10 +1266,13 @@ C_TESTS = \ test/test_util \ test/test_byte_reverse \ test/test_mixramp \ - test/test_icy_parser \ test/test_pcm \ test/test_queue_priority +if ENABLE_CURL +C_TESTS += test/test_icy_parser +endif + if ENABLE_DATABASE C_TESTS += test/test_translate_song endif @@ -1744,6 +1747,7 @@ test_test_mixramp_LDADD = \ $(GLIB_LIBS) \ $(CPPUNIT_LIBS) +if ENABLE_CURL test_test_icy_parser_SOURCES = \ src/Log.cxx src/LogBackend.cxx \ test/test_icy_parser.cxx @@ -1754,6 +1758,7 @@ test_test_icy_parser_LDADD = \ libutil.a \ $(GLIB_LIBS) \ $(CPPUNIT_LIBS) +endif test_test_pcm_SOURCES = \ src/AudioFormat.cxx \ -- cgit v1.2.3