aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-13 20:46:31 +0200
committerMax Kellermann <max@duempel.org>2009-04-13 20:46:31 +0200
commite216e01ab3db0d9bea179b043276401d38bfd957 (patch)
treef22ad6116f910e2737d48a7de7c50878372b0742 /Makefile.am
parentc824013e94743feb05c45fa82c3e81cceda120fa (diff)
downloadmpd-e216e01ab3db0d9bea179b043276401d38bfd957.tar.gz
mpd-e216e01ab3db0d9bea179b043276401d38bfd957.tar.xz
mpd-e216e01ab3db0d9bea179b043276401d38bfd957.zip
configure.ac: detect libzzip with pkg-config
Fail if the zzip plugin is enabled but not found.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f552a820a..4f460b2bb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,7 @@ src_mpd_CFLAGS = $(AM_CFLAGS) $(MPD_CFLAGS)
src_mpd_CPPFLAGS = $(AM_CPPFLAGS) \
$(SQLITE_CFLAGS) \
$(ID3TAG_CFLAGS) \
+ $(ARCHIVE_CFLAGS) \
$(INPUT_CFLAGS) \
$(DECODER_CFLAGS) \
$(ENCODER_CFLAGS) \
@@ -17,6 +18,7 @@ src_mpd_CPPFLAGS = $(AM_CPPFLAGS) \
src_mpd_LDADD = $(MPD_LIBS) \
$(SQLITE_LIBS) \
$(ID3TAG_LIBS) \
+ $(ARCHIVE_LIBS) \
$(INPUT_LIBS) \
$(DECODER_LIBS) \
$(ENCODER_LIBS) \
@@ -267,6 +269,12 @@ endif
# archive plugins
+ARCHIVE_CFLAGS = \
+ $(ZZIP_CFLAGS)
+
+ARCHIVE_LIBS = \
+ $(ZZIP_LIBS)
+
ARCHIVE_SRC =
if HAVE_BZ2
@@ -594,8 +602,10 @@ test_read_conf_SOURCES = test/read_conf.c \
src/conf.c src/buffer2array.c src/utils.c
test_run_input_CPPFLAGS = $(AM_CPPFLAGS) \
+ $(ARCHIVE_CFLAGS) \
$(INPUT_CFLAGS)
test_run_input_LDADD = $(MPD_LIBS) \
+ $(ARCHIVE_LIBS) \
$(INPUT_LIBS) \
$(GLIB_LIBS)
test_run_input_SOURCES = test/run_input.c \
@@ -606,9 +616,11 @@ test_run_input_SOURCES = test/run_input.c \
test_run_decoder_CPPFLAGS = $(AM_CPPFLAGS) \
$(ID3TAG_CFLAGS) \
+ $(ARCHIVE_CFLAGS) \
$(INPUT_CFLAGS) $(DECODER_CFLAGS)
test_run_decoder_LDADD = $(MPD_LIBS) \
$(ID3TAG_LIBS) \
+ $(ARCHIVE_LIBS) \
$(INPUT_LIBS) $(DECODER_LIBS) \
$(GLIB_LIBS)
test_run_decoder_SOURCES = test/run_decoder.c \
@@ -622,9 +634,11 @@ test_run_decoder_SOURCES = test/run_decoder.c \
test_read_tags_CPPFLAGS = $(AM_CPPFLAGS) \
$(ID3TAG_CFLAGS) \
+ $(ARCHIVE_CFLAGS) \
$(INPUT_CFLAGS) $(DECODER_CFLAGS)
test_read_tags_LDADD = $(MPD_LIBS) \
$(ID3TAG_LIBS) \
+ $(ARCHIVE_LIBS) \
$(INPUT_LIBS) $(DECODER_LIBS) \
$(GLIB_LIBS)
test_read_tags_SOURCES = test/read_tags.c \