X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/959568175b0bd9078074b17ffbb2e16545c6cf14..1d4219eef6b88cb08b957378b0ca1f9762996eac:/configure.ac diff --git a/configure.ac b/configure.ac index 83c29b4f3..33b933ed8 100644 --- a/configure.ac +++ b/configure.ac @@ -12,14 +12,14 @@ dnl not used but STL is. dnl 'make -f Makefile startup' will generate the configure file from dnl configure.ac correctly and can be run at any time -AC_PREREQ([2.69]) +AC_PREREQ([2.68]) AC_INIT AC_CONFIG_SRCDIR([configure.ac]) 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.2.9" 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) @@ -211,5 +218,4 @@ AC_SUBST(USE_NLS) AC_PATH_PROG(BASH, bash) AC_CONFIG_FILES([environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in doc/Doxyfile:doc/Doxyfile.in]) -AC_CONFIG_COMMANDS([default],[make -s dirs],[]) AC_OUTPUT