diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-05-06 16:17:07 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-05-06 16:17:07 -0500 |
commit | e430718640b5bea306f55f4b696d884c2b4a5270 (patch) | |
tree | fa7d9060923f83eff97345246d1155cb8e2fffbd /tests | |
parent | e546849e2ac89f61cd72f4139f1f0d11482d69b5 (diff) | |
download | yelp-e430718640b5bea306f55f4b696d884c2b4a5270.tar.gz |
Fixing the build stuff for bz2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index c4b9c543..449be5b9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,24 +6,28 @@ YELP_COMMON_CFLAGS = \ -I$(top_srcdir)/libyelp YELP_COMMON_LDADD = \ $(YELP_LIBS) \ - $(Z_LIBS) \ - $(BZ_LIBS) \ - $(LZMADEC_LIBS) \ $(top_builddir)/libyelp/libyelp.la check_PROGRAMS = \ - test-bz2 \ test-io-channel \ test-location-entry \ - test-lzma \ test-magic \ test-settings \ test-transform \ test-uri \ test-view +if ENABLE_LZMA +check_PROGRAMS += test-lzma +test_lzma_CFLAGS = $(YELP_COMMON_CFLAGS) +test_lzma_LDADD = $(YELP_COMMON_LDADD) +endif + +if ENABLE_BZ2 +check_PROGRAMS += test-bz2 test_bz2_CFLAGS = $(YELP_COMMON_CFLAGS) test_bz2_LDADD = $(YELP_COMMON_LDADD) +endif test_io_channel_CFLAGS = $(YELP_COMMON_CFLAGS) test_io_channel_LDADD = $(YELP_COMMON_LDADD) @@ -31,9 +35,6 @@ test_io_channel_LDADD = $(YELP_COMMON_LDADD) test_location_entry_CFLAGS = $(YELP_COMMON_CFLAGS) test_location_entry_LDADD = $(YELP_COMMON_LDADD) -test_lzma_CFLAGS = $(YELP_COMMON_CFLAGS) -test_lzma_LDADD = $(YELP_COMMON_LDADD) - test_magic_CFLAGS = $(YELP_COMMON_CFLAGS) test_magic_LDADD = $(YELP_COMMON_LDADD) |