diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-09-18 17:01:12 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-09-18 17:01:58 +0200 |
commit | 006e0a44f9cf2a70cb2da31c0667bd882df06d84 (patch) | |
tree | dfd720786099bf159cc96d098d20973c36cb975b /configure.ac | |
parent | 96a2aff0c44b216d8f22dfbf4d86918393b8ea08 (diff) |
Prepare for the new VSDX file-format (ooxml version)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f4398d9..cbbe94f 100644 --- a/configure.ac +++ b/configure.ac @@ -41,8 +41,21 @@ PKG_CHECK_MODULES([LIBVISIO],[ libwpd-0.9 libwpd-stream-0.9 libwpg-0.2 + libxml-2.0 ]) +# ========= +# 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 # =========================== |