X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/520624d562e54e8e2c0191fae723e668e3ece6b4..b50dfa6b2dd2d459e0c2746ac9367982b96ffac0:/configure.ac diff --git a/configure.ac b/configure.ac index 1f110d4c2..4e08cc473 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~exp14" +PACKAGE_VERSION="1.3~exp3" 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)