summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-05 23:45:46 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-05 23:57:47 +0200
commit2b7df394057c013fd042b85a4d5fd0104ba4a9be (patch)
tree763cfb2f588f2cde22afbf3582f4cf2c3abf2bb1 /configure.ac
parent1faedb4a6a4e49c8c26c48fbd03f16902276155a (diff)
Set sane defaults for backlog and job count
Instead of defaulting to -j 1 and -Q 10 times the job count if no option is provided, let tar2sqfs and gensquashfs use all available CPUs and about roughly half the available RAM, if this information can be gathered. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 015c1e7..71c3f91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,6 +184,7 @@ AX_COMPILE_CHECK_SIZEOF(long)
AX_COMPILE_CHECK_SIZEOF(long long)
AC_CHECK_HEADERS([sys/xattr.h], [], [])
+AC_CHECK_HEADERS([sys/sysinfo.h], [], [])
##### generate output #####