summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-11 10:42:06 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-11 10:42:27 -0400
commit3b1a55e110ab387a8d213581983e20c0a63d7894 (patch)
tree972b5eca785f511c41d96a3f14b172c5f9180b5f /configure.ac
parent6017365a1d0c1c78fc34a7da63768ee5df5da511 (diff)
Fix build without any compression enabled
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 19af217a2..e16d50d4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -520,6 +520,8 @@ AS_IF([test "x$enable_lz4" == "xyes"], [
])
AM_CONDITIONAL(HAVE_LZ4, [test "$have_lz4" = "yes"])
+AM_CONDITIONAL(HAVE_COMPRESSION, [test "$have_xz" = "yes" -o "$have_lz4" = "yes"])
+
# ------------------------------------------------------------------------------
AC_ARG_ENABLE([pam],
AS_HELP_STRING([--disable-pam],[Disable optional PAM support]),