Fix sequential extraction, and include progress info
[wimlib] / configure.ac
index 63f009754202ea43460cb603f83c9c1faa48ee82..dc6019346cfae1ba692a21b2651e2ffcb05a944d 100644 (file)
@@ -21,6 +21,7 @@ AC_CONFIG_FILES([Makefile
                doc/imagex-join.1
                doc/imagex-mount.1
                doc/imagex-mountrw.1
                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
                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])
        AC_DEFINE([ENABLE_MULTITHREADED_COMPRESSION], [1],
                        [Define to 1 if including support for multithreaded
                         compression])
+       PTHREAD_LDADD="-lpthread"
+else
+       PTHREAD_LDADD=""
 fi
 fi
+AC_SUBST([PTHREAD_LDADD], [$PTHREAD_LDADD])
 
 AC_MSG_CHECKING([whether to include support for ntfs-3g])
 AC_ARG_WITH([ntfs-3g],
 
 AC_MSG_CHECKING([whether to include support for ntfs-3g])
 AC_ARG_WITH([ntfs-3g],