]> git.lyx.org Git - features.git/commitdiff
Make -lz conditional on USE_COMPRESSION.
authorAngus Leeming <leeming@lyx.org>
Thu, 3 Feb 2005 15:38:04 +0000 (15:38 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 3 Feb 2005 15:38:04 +0000 (15:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9583 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/ChangeLog
src/tex2lyx/Makefile.am

index e021fa0ecc5a4e883737a4aaadaa17ed624f3d25..a87da6af1fa713d55e4597b1931c8466d22f9f2e 100644 (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*
index 65f07cd5172a014b788ddaffc05095af74ee1367..c7bcab1d881d4619cf83d5b6cf64864642ffb280 100644 (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 $@ ; \