X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6257bfdbff8bd15e41b5667a7a10bc123574cb10..e04a6ce61db5e5eaf4f954626c7833f00cdb5992:/configure.ac diff --git a/configure.ac b/configure.ac index a4914e54e..4a7149a8c 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_CONFIG_AUX_DIR(buildlib) AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in) PACKAGE="apt" -PACKAGE_VERSION="1.1.1" +PACKAGE_VERSION="1.3~pre2" PACKAGE_MAIL="APT Development Team " AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE") AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"$PACKAGE_VERSION") @@ -108,6 +108,13 @@ if test "x$HAVE_ZLIB" = "xyes"; then AC_DEFINE(HAVE_ZLIB) fi +HAVE_LZ4=no +AC_CHECK_LIB(lz4, LZ4F_createCompressionContext,[AC_CHECK_HEADER(lz4frame.h, [HAVE_LZ4=yes], [])], []) +AC_SUBST(HAVE_LZ4) +if test "x$HAVE_LZ4" = "xyes"; then + AC_DEFINE(HAVE_LZ4) +fi + HAVE_BZ2=no AC_CHECK_LIB(bz2, BZ2_bzopen,[AC_CHECK_HEADER(bzlib.h, [HAVE_BZ2=yes], [])], []) AC_SUBST(HAVE_BZ2)