target_sources(liblzma PRIVATE src/liblzma/common/microlzma_decoder.c)
endif()
+if (MICROLZMA_ENCODER OR MICROLZMA_DECODER)
+ add_compile_definitions(HAVE_MICROLZMA)
+endif()
+
#############################
# lzip (.lz) format support #
for example, erofs-utils.]),
[], [enable_microlzma=yes])
case $enable_microlzma in
- yes | no)
- AC_MSG_RESULT([$enable_microlzma])
+ yes)
+ AC_DEFINE([HAVE_MICROLZMA], [1],
+ [Define to 1 if MicroLZMA support is enabled.])
+ AC_MSG_RESULT([yes])
+ ;;
+ no)
+ AC_MSG_RESULT([no])
;;
*)
AC_MSG_RESULT([])