Make -lz conditional on USE_COMPRESSION.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9583 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-02-03 15:38:04 +00:00
parent 5838351e31
commit ac9feeaed5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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*

View File

@ -17,6 +17,10 @@ AM_CPPFLAGS = $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM)
if USE_COMPRESSION
COMPRESSIONLIB = -lz
endif
BUILT_SOURCES = \
FloatList.C \
Floating.C \
@ -50,7 +54,7 @@ tex2lyx_SOURCES = \
tex2lyx_LDADD = \
$(top_builddir)/src/support/libsupport.la \
$(BOOST_LIBS) -lz
$(BOOST_LIBS) $(COMPRESSIONLIB)
$(BUILT_SOURCES) :
@rm -f $@ ; \