liblzma/m4
Lasse Collin df8f446e3a tuklib_cpucores: Add support for sched_getaffinity().
It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
gives the number of cores available to the process instead of
the total number of cores online.

As a side effect, this commit fixes a bug on GNU/kFreeBSD where
configure would detect the FreeBSD-specific cpuset_getaffinity()
but it wouldn't actually work because on GNU/kFreeBSD it requires
using -lfreebsd-glue when linking. Now the glibc-specific function
will be used instead.

Thanks to Sebastian Andrzej Siewior for the original patch
and testing.
2016-10-24 18:51:36 +03:00
..
.gitignore Update .gitignore files. 2014-10-29 21:28:25 +02:00
ax_check_capsicum.m4 Fix bugs and otherwise improve ax_check_capsicum.m4. 2015-03-31 21:12:30 +03:00
ax_pthread.m4 Build: Update m4/ax_pthread.m4 from Autoconf Archive. 2014-11-17 19:11:49 +02:00
getopt.m4 Fix the Autoconf test for getopt_long replacement. 2009-03-01 08:58:41 +02:00
posix-shell.m4 Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00
tuklib_common.m4 Various changes. 2009-09-19 09:47:30 +03:00
tuklib_cpucores.m4 tuklib_cpucores: Add support for sched_getaffinity(). 2016-10-24 18:51:36 +03:00
tuklib_integer.m4 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 2014-11-17 18:52:21 +02:00
tuklib_mbstr.m4 xz: Multiple fixes. 2010-09-10 10:30:33 +03:00
tuklib_physmem.m4 Fix the detection of installed RAM on QNX. 2015-03-29 22:13:48 +03:00
tuklib_progname.m4 Various changes. 2009-09-19 09:47:30 +03:00