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>2016-06-28 21:09:46 +0300
commitdc6b78d7f0f6fe43e9d4215146e8581feb8090e7 (patch)
treeb990e7a7c10618a31f662d1920d9a5e0024e8fb1
parentBuild: Don't omit lzma_cputhreads() unless using --disable-threads. (diff)
downloadxz-dc6b78d7f0f6fe43e9d4215146e8581feb8090e7.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.
Diffstat (limited to '')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 53ae7bef..58428820 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