From 8bfb5e3c19ab4e8aea09132881963facb76cfcda Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 23 Feb 2017 14:30:15 +0100 Subject: [PATCH] zlib is not needed since the move to librevenge Change-Id: Ib83663e9cc7a808db966cd8dfb3fbcd1ee195da6 --- configure.ac | 12 ------------ libvisio.pc.in | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index a11115b..2aa8ece 100644 --- a/configure.ac +++ b/configure.ac @@ -76,18 +76,6 @@ PKG_CHECK_MODULES([ICU],[icu-i18n],[ AC_SUBST(ICU_CFLAGS) AC_SUBST(ICU_LIBS) -# ========= -# Find zlib -# ========= -PKG_CHECK_MODULES([ZLIB],[zlib],[],[ - AC_CHECK_HEADER(zlib.h, [ZLIB_CFLAGS=], - [AC_MSG_ERROR(zlib.h not found. install zlib)], []) - AC_CHECK_LIB(z, inflate, [ ZLIB_LIBS=-lz ], - [AC_MSG_ERROR(zlib not found or functional)], []) -]) -AC_SUBST(ZLIB_CFLAGS) -AC_SUBST(ZLIB_LIBS) - # =========================== # Find required boost headers # =========================== diff --git a/libvisio.pc.in b/libvisio.pc.in index ce68e6f..638930b 100644 --- a/libvisio.pc.in +++ b/libvisio.pc.in @@ -10,4 +10,4 @@ Requires: librevenge-0.0 Libs: -L${libdir} -lvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ Cflags: -I${includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ -Requires.private: icu-i18n libxml-2.0 zlib +Requires.private: icu-i18n libxml-2.0 -- 2.1.4