mirror of https://git.tukaani.org/xz.git
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.
This commit is contained in:
parent
46d76c9cd3
commit
dc6b78d7f0
|
@ -141,11 +141,6 @@ else
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
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])
|
AC_MSG_RESULT([$enable_decoders])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue