+2005-02-03 Angus Leeming <leeming@lyx.org>
+
+ * Makefile.am: make -lz conditional on USE_COMPRESSION.
+
2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* text.C (parse_text): handle \includegraphics*
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM)
+if USE_COMPRESSION
+COMPRESSIONLIB = -lz
+endif
+
BUILT_SOURCES = \
FloatList.C \
Floating.C \
tex2lyx_LDADD = \
$(top_builddir)/src/support/libsupport.la \
- $(BOOST_LIBS) -lz
+ $(BOOST_LIBS) $(COMPRESSIONLIB)
$(BUILT_SOURCES) :
@rm -f $@ ; \