X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=configure.ac;h=cc96b9321bfd2de1e22ecffae16fe1dd1aaa6ff5;hb=eff67c0d712100642ae6dce8262366eb0c3b911b;hp=0bed8cd51e8d65b33409628d3ed201e4bfc22db8;hpb=7b5a88bcb70a3bdb24f3df414e8c71fdb95ee602;p=wimlib diff --git a/configure.ac b/configure.ac index 0bed8cd5..cc96b932 100644 --- a/configure.ac +++ b/configure.ac @@ -135,6 +135,20 @@ if test "x$ENABLE_VERIFY_COMPRESSION" = "xyes"; then compressed data]) fi +AC_MSG_CHECKING([whether to include support for multi-threaded compression]) +AC_ARG_ENABLE([multithreaded-compression], + AS_HELP_STRING([--disable-multithreaded-compression], + [do not compile in the code for multi-threaded compression]), + [ENABLE_MULTITHREADED_COMPRESSION=$enableval], + [ENABLE_MULTITHREADED_COMPRESSION=yes] + ) +AC_MSG_RESULT([$ENABLE_MULTITHREADED_COMPRESSION]) +if test "x$ENABLE_MULTITHREADED_COMPRESSION" = "xyes"; then + AC_DEFINE([MULTITHREADED_COMPRESSION], [1], + [Define to 1 if including support for multithreaded + compression]) +fi + AC_MSG_CHECKING([whether to include support for ntfs-3g]) AC_ARG_WITH([ntfs-3g], AS_HELP_STRING([--without-ntfs-3g], [build without NTFS-3g.