aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2015-11-03 17:54:48 +0200
committerLasse Collin <lasse.collin@tukaani.org>2015-11-03 17:54:48 +0200
commit23ed1d41489f632155bbc9660f323d57e09da180 (patch)
tree843f4dcf103ea26d17f8ba4a0928656b55c888ae
parentBuild: Don't omit lzma_cputhreads() unless using --disable-threads. (diff)
downloadxz-23ed1d41489f632155bbc9660f323d57e09da180.tar.xz
Build: Fix configure to handle LZMA1 dependency with LZMA2.
Now it gives an error if LZMA1 encoder/decoder is missing when LZMA2 encoder/decoder was requested. Even better would be LZMA2 implicitly enabling LZMA1 but it would need more code.
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 94e90074..fb554442 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,11 +141,6 @@ else
;;
esac
done
-
- # LZMA2 requires that LZMA1 is enabled.
- test "x$enable_encoder_lzma2" = xyes && enable_encoder_lzma1=yes
- test "x$enable_decoder_lzma2" = xyes && enable_decoder_lzma1=yes
-
AC_MSG_RESULT([$enable_decoders])
fi