X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=configure.ac;h=5c4ad6b7031240477dd28a1d833b4484dfa09452;hb=refs%2Ftags%2Fv1.1.0;hp=cc96b9321bfd2de1e22ecffae16fe1dd1aaa6ff5;hpb=eff67c0d712100642ae6dce8262366eb0c3b911b;p=wimlib diff --git a/configure.ac b/configure.ac index cc96b932..5c4ad6b7 100644 --- a/configure.ac +++ b/configure.ac @@ -144,10 +144,14 @@ AC_ARG_ENABLE([multithreaded-compression], ) AC_MSG_RESULT([$ENABLE_MULTITHREADED_COMPRESSION]) if test "x$ENABLE_MULTITHREADED_COMPRESSION" = "xyes"; then - AC_DEFINE([MULTITHREADED_COMPRESSION], [1], + AC_DEFINE([ENABLE_MULTITHREADED_COMPRESSION], [1], [Define to 1 if including support for multithreaded compression]) + PTHREAD_LDADD="-lpthread" +else + PTHREAD_LDADD="" fi +AC_SUBST([PTHREAD_LDADD], [$PTHREAD_LDADD]) AC_MSG_CHECKING([whether to include support for ntfs-3g]) AC_ARG_WITH([ntfs-3g],