X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=configure.ac;h=dc6019346cfae1ba692a21b2651e2ffcb05a944d;hp=63f009754202ea43460cb603f83c9c1faa48ee82;hb=5cdd60306facd14cc9dcc24471386451294ca73c;hpb=b61e9afca45dacd9baefbcfa17dbea2af75259b8;ds=sidebyside diff --git a/configure.ac b/configure.ac index 63f00975..dc601934 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ AC_CONFIG_FILES([Makefile doc/imagex-join.1 doc/imagex-mount.1 doc/imagex-mountrw.1 + doc/imagex-optimize.1 doc/imagex-split.1 doc/imagex-unmount.1 doc/mkwinpeimg.1 @@ -147,7 +148,11 @@ if test "x$ENABLE_MULTITHREADED_COMPRESSION" = "xyes"; then 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],