aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-12-24 00:27:12 +0100
committerJanne Grunau <janne-libav@jannau.net>2011-12-31 17:40:12 +0100
commitbcc73960657538f601dc90076e30df3cc6032569 (patch)
tree585406fbfd86394408eedff45b46ce488a3412f1 /configure
parent937ff3a18a637a28e56752b57b6c2f6ed47b04c1 (diff)
downloadffmpeg-bcc73960657538f601dc90076e30df3cc6032569.tar.gz
threads: add sysconf based number of CPUs detection
Can act as fallback and should work on a couple of Unix systems.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 413c02fae8..b7f0acdc0a 100755
--- a/configure
+++ b/configure
@@ -1138,6 +1138,7 @@ HAVE_LIST="
symver
symver_asm_label
symver_gnu_asm
+ sysconf
sysctl
sys_mman_h
sys_param_h
@@ -2858,6 +2859,7 @@ check_func strerror_r
check_func strptime
check_func strtok_r
check_func sched_getaffinity
+check_func sysconf
check_func sysctl
check_func_headers io.h setmode
check_func_headers lzo/lzo1x.h lzo1x_999_compress