summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAman Karmani <aman@tmm1.net>2022-02-04 12:14:57 -0800
committerAman Karmani <aman@tmm1.net>2022-02-07 13:42:40 -0800
commit2f299c0b8b4ab1b549b25ab48aa2adbc9f8718ea (patch)
treeb0c09870906bf6331e3e662d46b1640429d7ed29 /configure
parent04cc7a5548fa22241a2d6bb4f719fe8e0e0843f1 (diff)
avutil: use getauxval(3) for CPU capabilities on linux/android ARM
getauxval is marginally faster, and works even when procfs is not mounted support on Linux was added in glibc 2.16 support on Android was added in 4.4 (API 20) fixes #6578 Signed-off-by: Aman Karmani <aman@tmm1.net>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index c915953430..395f0a64ee 100755
--- a/configure
+++ b/configure
@@ -6261,6 +6261,7 @@ check_func_headers lzo/lzo1x.h lzo1x_999_compress
check_func_headers mach/mach_time.h mach_absolute_time
check_func_headers stdlib.h getenv
check_func_headers sys/stat.h lstat
+check_func_headers sys/auxv.h getauxval
check_func_headers windows.h GetModuleHandle
check_func_headers windows.h GetProcessAffinityMask