summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-12-14 13:35:11 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-12-14 13:35:11 -0500
commit212decb4382b84c2370c369b0507a5534399aa56 (patch)
tree02013b03c0c8eb37e3d0b86f3a492f2d14eb6ee1
parent17bef03f04cf4decc41d477ec015886663120477 (diff)
add compression libraries
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 366112a3..f1b9d132 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,6 +78,13 @@ LIBS="$LIBS $BOOST_PROGRAM_OPTIONS_LIBS $BOOST_SERIALIZATION_LIBS $BOOST_SYSTEM_
AC_CHECK_HEADER(google/dense_hash_map,
[AC_DEFINE([HAVE_SPARSEHASH], [1], [flag for google::dense_hash_map])])
+AC_CHECK_HEADER(zlib.h,
+ [AC_DEFINE([HAVE_ZLIB], [1], [zlib])])
+AC_CHECK_HEADER(bzlib.h,
+ [AC_DEFINE([HAVE_BZLIB], [1], [bzlib])])
+AC_CHECK_HEADER(lzma.h,
+ [AC_DEFINE([HAVE_XZLIB], [1], [xzlib])])
+
AC_PROG_INSTALL
CPPFLAGS="-DPIC -fPIC $CPPFLAGS -DHAVE_CONFIG_H"