X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=4b292b2105312a515760eea1e478a2f1b49fc186;hp=bc56d7500d00b07e292aaa1ef8f83d525032aabb;hb=e8a152c62dd2003731a59e0dffef4336c63110b9;hpb=3577de7ac39c54821e1d1d946db65e109dfb94b2 diff --git a/Makefile.am b/Makefile.am index bc56d7500..4b292b210 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3509,6 +3509,15 @@ test_catalog_CPPFLAGS = \ test_catalog_LDADD = \ libsystemd-journal-core.la +if HAVE_XZ +test_compress_SOURCES = \ + src/journal/test-compress.c + +test_compress_LDADD = \ + libsystemd-journal-internal.la \ + libsystemd-shared.la +endif + libsystemd_journal_core_la_SOURCES = \ src/journal/journald-kmsg.c \ src/journal/journald-kmsg.h \ @@ -3591,6 +3600,10 @@ tests += \ test-mmap-cache \ test-catalog +if HAVE_XZ +tests += test-compress +endif + pkginclude_HEADERS += \ src/systemd/sd-journal.h \ src/systemd/sd-messages.h \